summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Revert "stricter permissions on atomic_move when creating new file (#68970)"revert-68970-safer_default_permsBrian Coca2020-04-164-13/+11
| | | | This reverts commit 566f2467f6ca6e0e817ea793ef802116ad469858.
* stricter permissions on atomic_move when creating new file (#68970)Brian Coca2020-04-164-11/+13
| | | | | fixes #67794 updated some tests that expected previous defaults CVE-2020-1736
* Add variable for DEFAULT_NO_TARGET_SYSLOG (#68971)Jordan Borean2020-04-163-2/+10
| | | | | * Add variable for DEFAULT_NO_TARGET_SYSLOG * Added version_added to new var
* windows - fix up env var quoting for unicode single quotes (#68968)Jordan Borean2020-04-166-9/+17
| | | | | * windows - fix up env var quoting for unicode single quotes * Add sanity ignore check for smart quotes
* Add more integration tests. (#68972)Matt Clay2020-04-165-0/+88
|
* Remove unused functions (#68969)Jordan Borean2020-04-161-20/+0
|
* Testing: Add support for CentOS Linux On Power platform (#68130)Yanis Guenane2020-04-1526-38/+187
| | | | | | | | | | | * Testing: Add CentOS Linux On Power platform * Add arch designation to remotes. This avoids overloading the provider with the arch. Also add a changelog entry. Co-authored-by: Matt Clay <matt@mystile.com>
* Extend dev guide for collection testing and collection hacking (#68899)Felix Fontein2020-04-153-9/+105
| | | | | | | | * Make clear which BOTMETA.yml is meant (some collections also have one), fix itemization, document /rebuild and /rebuild_failed, add section on how to test collections with ansible-test, update supported versions for compile tests, add a section on hacking collections, implement feedback. * Update docs/docsite/rst/dev_guide/developing_collections.rst Co-Authored-By: Felix Fontein <felix@fontein.de> Co-authored-by: Alicia Cozine <acozine@users.noreply.github.com>
* docs: Update inventory script paths (#68905)Abhijeet Kasurde2020-04-152-5/+7
| | | Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
* VMware: Document vm properties (#68552)Abhijeet Kasurde2020-04-152-0/+1184
| | | | | | VMware vm inventory uses configuration properties, rather than relying on external documents, point user to this document. Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
* small fix to install command as no longer needs -p by default (#68947)Jake Jackson2020-04-151-1/+1
|
* ansible-galaxy - fix listing specific role and role description (#67409)Sam Doran2020-04-154-19/+99
| | | | | | | | | | | | | | | | | * ansible-galaxy - fix listing specific role If the role was not in the first search path, it was reported as not found * Properly display role description Default to description to top level description, falling back to the description from within galaxy_info * Display proper message when a role does not exist * Add integration tests * Use context manager * BSD and macOS ruining all the fun
* Adjust openssl_certificate* module names ↵Felix Fontein2020-04-141-2/+2
| | | | (ansible-collections/community.crypto#7) (#68719)
* Fix routing entry to patch. (#68537)Felix Fontein2020-04-140-0/+0
|
* Revert "Switch network incidental tests to VyOS 1.1.7-R2."Matt Clay2020-04-142-3/+2
| | | | This reverts commit 7d5177d6a06154c19ed6b400bdb2b17beeee9606.
* prepare for future ansibot collection changes (#68944)jctanner2020-04-142-0/+2
|
* Prevent templating unused variables for {%include%} (#68749)Martin Krizek2020-04-147-3/+55
| | | Fixes #68699
* Switch network incidental tests to VyOS 1.1.7-R2.Matt Clay2020-04-142-2/+3
| | | | The previous version being used, VyOS 1.1.8, is currently unavailable in AWS.
* Use context manager in yum module. (#65376)Mads Jensen2020-04-142-11/+5
|
* avoid mkdir -p (#68921)Brian Coca2020-04-134-12/+22
| | | | | | | | * also consolidated temp dir name generation, added pid for more 'uniqness' * generalize error message * added notes about remote expansion CVE-2020-1733 fixes #67791
* Force collections to be static (#68723)David Shrewsbury2020-04-133-1/+56
| | | | | | | | | | | | | | | | | | | | | * Force collections to be static Templating of collection names does not work at all. Force them to be static so that a warning is generated for the user. * Add collectionsearch unit test and fix for reviews New unit test validates the new _load_collections() code and moves the new check to the end of the method. * Change unit test to pytest * Adjust unit test to use capsys instead of monkeypatch * Fix pep8 error * Add changelog fragment Closes #68704
* subversion module - provide password securely when possible or warn (#67829)Sloane Hertel2020-04-1316-40/+118
| | | | | | | * subversion module - provide password securely with svn command line option --password-from-stdin when possible, and provide a warning otherwise. * Update lib/ansible/modules/source_control/subversion.py. * Add a test. Co-authored-by: Sam Doran <sdoran@redhat.com>
* get_url pass incorrect If-Modified-Since header(#67417) (#67419)Zhanwei Wang2020-04-103-2/+4
| | | Fix #67417. HTTP header value of `If-Modified-Since` set by `get_url` does not follow HTTP protocol.
* Updating routing data for gcp_kms_* filters (#68807)Abhijeet Kasurde2020-04-102-3/+3
| | | | | | gcp_kms_encrypt and gcp_kms_decrypt located in google.cloud collection and not in community.general collection Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
* Fixes #68121: Move kubectl plugin migration to proper place. (#68122)Jeff Geerling2020-04-102-2/+2
|
* moving zabbix modules to a dedicated collection (#68190)Dusan Matejka2020-04-101-2/+7
|
* Fix ansible-test --docker without tests dir.Matt Clay2020-04-092-0/+8
|
* Fix label lookup in the default callback for includes (#68822)Matt Martz2020-04-0910-7/+42
| | | | | | | | | | | | | | * Replace included_file._args w/ included_file._vars * Fix item value in output of include_tasks loop Signed-off-by: Yadnyawalk Tale <ytale@redhat.com> * Update tests for loop callback fix. Add changelog Co-authored-by: Yadnyawalk Tale <ytale@redhat.com> Fixes #65904 Fixes #66018
* doc: variable precedence: "override", not "overwrite" (#68698)Kenyon Ralph2020-04-091-5/+5
|
* basic: Update required library message (#68657)Abhijeet Kasurde2020-04-092-1/+3
| | | | | Updated missing_required_lib API message. Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
* url_windows - Add not around no redirection for auth headers (#68791)Jordan Borean2020-04-091-0/+2
|
* true and false commands have to be quoted (#68761)pallxk2020-04-091-3/+3
| | | otherwise they will be parsed as bool instead of string by YAML.
* reroute zabbix to its dedicated collection (#68806)Rick Elrod2020-04-092-68/+68
| | | | | | Refs https://github.com/ansible-collections/community.general/pull/11 Refs https://github.com/ansible-collections/community.zabbix/pull/1 Signed-off-by: Rick Elrod <rick@elrod.me>
* ansible-test: don't trigger full CI run for changes to changelogs/ and docs/ ↵Felix Fontein2020-04-092-0/+10
| | | | | | | | | | | | | in collections (#68550) * Don't trigger full CI run for changes to changelogs/ and docs/ in collections. * Add changelog fragment. * Update changelogs/fragments/68550-ansible-test-docs-changelogs.yml Co-Authored-By: Matt Clay <matt@mystile.com> Co-authored-by: Matt Clay <matt@mystile.com>
* Update docker.txt to use the OpenSUSE 15.1 container image (devel edition) ↵Rick Elrod2020-04-093-2/+11
| | | | | | | | | | | | | | | | | | | | | (#68785) * Update docker.txt to use the OpenSUSE 15.1 container image Signed-off-by: Rick Elrod <rick@elrod.me> * handle installing mysql on suse Signed-off-by: Rick Elrod <rick@elrod.me> * add changelog fragment Signed-off-by: Rick Elrod <rick@elrod.me> * Update changelogs/fragments/ansible-test-opensuse-15.1.yml Co-Authored-By: Matt Clay <matt@mystile.com> Co-authored-by: Matt Clay <matt@mystile.com>
* patch is in ansible.posix part deux (#68796)Jordan Borean2020-04-092-2/+2
|
* Add some missing dmi facts when we use dmidecode (#68756)Rick Elrod2020-04-092-12/+42
| | | | | | | | On OSes where we fall back to dmidecode (freebsd and linux currently), add some missing fields that dmidecode provides when it is able. Closes #59317. Signed-off-by: Rick Elrod <rick@elrod.me>
* Update tests to use RHEL 7.8. (#68787)Matt Clay2020-04-084-7/+11
| | | | | | | * Update tests to use RHEL 7.8. Keeping support for RHEL 7.6 since collections are still using it. * Fix tests for RHEL 7.7+ due to extras repo name change.
* Remove cgroup_perf_recap_graph.py, since that callback no longer exists here ↵Matt Martz2020-04-081-130/+0
| | | | (#68779)
* dnf: remove un-needed function (#68482)Chris Holland2020-04-082-34/+4
|
* fixed fetch traversal from slurp (#68720)Brian Coca2020-04-0812-34/+121
| | | | | | | | | | | | | | | | | * fixed fetch traversal from slurp * ignore slurp result for dest * fixed naming when source is relative * fixed bug in local connection plugin * added tests with fake slurp * moved existing role tests into runme.sh * normalized on action excepts * moved dest transform down to when needed * added is_subpath check * fixed bug in local connection fixes #67793 CVE-2019-3828
* Allow tasks to notify a fqcn handler name (#68213)Matt Martz2020-04-0811-18/+67
| | | | | | | | | | | * Allow tasks to notify a fqcn handler name * Add tests. Fixes #68181 * Add changelog fragment * Add test to ensure handlers are deduped properly with fqcn, role, and just handler names * Add some docs about new special vars
* Update changelogs/fragments/allow-fail-json-msg-to-be-positional.yamlToshio Kuratomi2020-04-081-1/+1
| | | Co-Authored-By: Matt Martz <matt@sivel.net>
* Fix yaml in changelogToshio Kuratomi2020-04-081-2/+2
|
* Add some more unittests for fail_jsonToshio Kuratomi2020-04-081-1/+22
| | | | Test that order of msg as a keyword arg doesn't matter
* Allow the msg argument to fail_json() to be a positional argumentToshio Kuratomi2020-04-083-5/+21
| | | | | | | | | | | | | fial_json() requires a message be given to it to inform the end user of why the module failed. Prior to this commit, the message had to be a keyword argument: module.fail_json(msg='Failed due to error') Since this is a required parameter, this commit allows the message to be given as a positional argument instead: module.fail_json('Failed due to an error')
* Fix ansible-test submodule handling. (#68759)Matt Clay2020-04-0814-29/+149
| | | | | | | | * Refactor ansible-test integration test. * Add env --list-files option. * Add tests for collection files tracked by git. * Fix ansible-test submodule usage on older git. * Fix submodule directory detection as files. * Improve handling of nested source control.
* Update team_openstack in botmeta (#68679)David Shrewsbury2020-04-071-2/+4
| | | | | * Update team_openstack in botmeta * Also add an ignore for Shrews
* Dev guide: add notes about different image types for integration and ↵Andrew Klychkov2020-04-073-1/+9
| | | | | | | | unit/sanity tests (#68663) * Dev guide: add notes about different image types for integration and unit/sanity tests * Update docs/docsite/rst/dev_guide/testing_integration.rst Co-authored-by: Matt Clay <matt@mystile.com>
* Add --docker-terminate flag to ansible-test (#68688)Rick Elrod2020-04-064-1/+15
| | | | | * Add --docker-terminate flag to ansible-test Signed-off-by: Rick Elrod <rick@elrod.me>