Compare commits

..

164 Commits

Author SHA1 Message Date
ff7bbbcaf1 New release v2.9.7 2020-04-16 16:26:06 -07:00
290bfa820d fixed fetch traversal from slurp (#68720)
* 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

(cherry picked from commit ba87c225cd)
2020-04-15 12:47:35 -07:00
685a4b6d3f safely use vault to edit secrets (#68644)
* when possible, use filedescriptors from mkstemp to avoid race
  * when using path strings, ensure we are always creating the file

CVE-2020-1740
Fixes #67798

Co-authored-by: samdoran
(cherry picked from commit 28f9fbdb5e)
2020-04-15 12:41:17 -07:00
d41e38435b [2.9] CVE-2020-1746 - Remove the params module option from ldap_attr and ldap_entry (#68714)
* Remove the params module option from ldap_attr and ldap_entry

Module options that circumvent Ansible's option handling were disallowed
in:
https://meetbot.fedoraproject.org/ansible-meeting/2017-09-28/ansible_dev_meeting.2017-09-28-15.00.log.html

Additionally, this particular usage can be insecure if bind_pw is set
this way as the password could end up in a logfile or displayed on
stdout.

Fixes CVE-2020-1746

(cherry picked from commit 0ff609f1bc)

* Fix formatting for option names

Co-Authored-By: Felix Fontein <felix@fontein.de>

* Fix fail_json

* fix indentation error

Co-authored-by: Toshio Kuratomi <a.badger@gmail.com>
Co-authored-by: Felix Fontein <felix@fontein.de>
2020-04-14 19:26:47 -07:00
0b4788a71f prevent ansible_facts injection (#68431)
- also only replace when needed
 - switched from replace to index
 - added test to verify bogus_facts are not accepted

CVE-2020-10684

(cherry picked from commit a9d2ceafe4)
2020-04-14 19:13:51 -07:00
51d2514753 fix vault temp file handling (#68433)
* fix vault tmpe file handling

 * use local temp dir instead of system temp
 * ensure each worker clears dataloader temp files
 * added test for dangling temp files
 * added notes to data loader

CVE-2020-10685

(cherry picked from commit 6452a82452)
2020-04-14 18:48:00 -07:00
65866519e4 support rabbitmq 3.8.x in version check (#66855) (#68137)
* support rabbitmq 3.8.x in version check (#66855)

* support rabbitmq 3.8.x in version check

* Removed extraneous white space

(cherry picked from commit 6b017db05b)

* Add changelog fragment.

Co-authored-by: bitchkat <kjh@flyballdogs.com>
Co-authored-by: Matt Clay <matt@mystile.com>
2020-04-14 18:42:43 -07:00
c6c4fbf4a1 subversion module - provide password securely when possible or warn (#67829)
* 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>
(cherry picked from commit d91658ec0c)
2020-04-14 18:41:54 -07:00
b2551bb694 ansible-galaxy - Fix tar path traversal issue during install - CVE-2020-10691 - 2.9 (#68601)
* ansible-galaxy - Fix tar path traversal issue during install - CVE-2020-10691 (#68596)

(cherry picked from commit a20a527014)

* Remove extra tests missing from rebase
2020-04-14 18:25:27 -07:00
cef6296735 WebRequest - Fix use_proxy: no on module options (#68603)
* WebRequest - Fix use_proxy: no on module options

* Fix up changelog fragment

(cherry picked from commit ae1cd27b57)
2020-04-14 18:23:56 -07:00
3bebeb9cc3 Fixed mysql_user module idempotency for long privilege lists. (Fixes #68044) 2020-04-14 18:22:32 -07:00
8d387802ec [2.9] ipa: Remove redundant encoding in json.loads
Backport of https://github.com/ansible-collections/community.general/pull/87

Fixes: ansible/ansible#66592

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2020-04-14 18:20:42 -07:00
2b536b8e82 Backport of ansible-collections/community.general@07e8911fd8 to stable-2.9. 2020-04-14 18:19:48 -07:00
a41f09901b [stable-2.9] Fix missing persistent connection messages (#68496) (#68562)
* [stable-2.9] Fix missing persistent connection messages (#68496)

* Be more proactive about returning module messages

* Move message display to a function, and replace handling already in shutdown().
(cherry picked from commit 5f6427b1fc)

Co-authored-by: Nathaniel Case <ncase@redhat.com>

* Add changelog
2020-04-14 18:18:23 -07:00
ea4f6e1539 nxos_lacp: updated tests to handle platforms not supporting lacp system mac command (#64074)
* Updated nxos_lacp tests to handle platforms not supporting lacp system mac command

* nxos_lacp: addressing comments

* nxos_lacp: Updating image tag search to include more tags

(cherry picked from commit 00193f27eb)

Add changelog for nxos_lacp fix
2020-04-14 18:16:14 -07:00
852b64b3ba routeros_facts: prevent crash of module when ipv6 package is not installed (#68554)
* routeros_facts: fix crash when ipv6 is disabled

* Update 64958-routeros-facts-ipv6.yml
2020-04-14 18:14:48 -07:00
eec5cc4f73 [2.9] VMware: Use existing DVPG network in vmware_guest_network
* Handle all cases of networks

Fixes: #65968

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
(cherry picked from commit afb71c14bd)
2020-04-14 18:13:19 -07:00
61c6a6b7b3 ovirt_storage_domain: fix update_check warning_low_space (#68505)
* ovirt_storage_domain: fix update_check warning_low_space

* add changelog
2020-04-14 18:11:46 -07:00
0e51aadd8e [stable-2.9] Add CentOS 8 to the test matrix (#68025)
* Add CentOS 8 to the test matrix (#63649)

(cherry picked from commit 2a7623dd5c)

* Skip PostgreSQL tests on CentOS 8

The tests in devel have diverged significantly from what is in
stable-2.9. It is easiest to skip these test for CentOS 8 in this branch
since they are still being run in devel.
2020-04-14 17:46:17 -07:00
b0e2321a17 setup - Use original logic for FQDN hostname builder 2020-04-14 17:39:42 -07:00
281af782e2 Fix purefa_snmp errors 2020-04-14 17:36:14 -07:00
32f41334fb Fix colorization to not extend across newline boundary (#68517)
* Fix colorization to not extend across newline boundary

* Fix unit test to look for the newline outside the coloration

* Add changelog fragment

(cherry picked from commit 2068131589)
2020-04-14 17:07:05 -07:00
52d509717e fallback to uid when no uname (#68466)
* fallback to uid when no uname

 fixes #68007

Co-Authored-By: Matt Clay <matt@mystile.com>
(cherry picked from commit 1570098e86)
2020-04-14 17:06:15 -07:00
8088ffb853 [2.9] Fix warning message in dense callback plugin
Fix dense callback plugin access to its configuration variables
and remove a warning message

Backport of https://github.com/ansible-collections/community.general/pull/83

Fixes: #64628
2020-04-14 17:04:51 -07:00
76f1aeb188 [stable-2.9] Always set the discovered interpreter on the delegated host (#64906)
* Always set the discovered interpreter on the delegated host. Fixes #63180

* Make code a little more generic

* Move code into a function

* Implement some changes based on reviews

* Add changelog fragment
(cherry picked from commit 123c624)

Co-authored-by: Matt Martz <matt@sivel.net>
2020-04-14 17:03:19 -07:00
gp
859cdc8695 [2.9] VMware: Fix cluster argument of module vmware_content_deploy_template
(cherry picked from commit 98f19c970f)

Signed-off-by: gp <gp@gparent.net>
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2020-04-14 16:52:14 -07:00
64d8947f7f [2.9] docs: Fixed "Edit on GitHub" link for plugin, cli
Fixed sphinx theme to navigate "Edit on Github" link to locate correct
plugin, cli source in GitHub repo.

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
(cherry picked from commit 2728c2476e)
2020-04-14 16:51:21 -07:00
80b9a0a25c avoid mkdir -p (#68921)
* also consolidated temp dir name generation, added pid for more 'uniqness'
* generalize error message
* added notes about remote expansion

CVE-2020-1733
fixes #67791

(cherry picked from commit 8077d8e401)
2020-04-14 16:46:23 -07:00
378434a148 passwordstore: Honor equal sign in userpass
passwordstore lookup plugin now can handle equal sign in user input

Fixes: ansible/ansible#68265

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2020-04-14 15:59:35 -07:00
9f22ef10b6 [2.9] Handle get_tags_for_object in vmware_rest_client
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2020-04-14 15:43:59 -07:00
a0491f804f Fix os_user_role issue to grant a role in a domain
Fixes #66525.

Backport of https://github.com/openstack/ansible-collections-openstack/commit/4c03ae.
2020-04-14 15:39:59 -07:00
203e74b73a Fix wrong parameter name in example
Changed from name to workflow_templated (the right parameter name)
2020-04-14 15:29:12 -07:00
1f304ef372 win_unzip - normalize and compare paths to prevent path traversal (#67799)
* Actually inspect the paths and prevent escape
* Add integration tests
* Generate zip files for use in integration test
* Adjust error message

(cherry picked from commit d30c57ab22)
2020-04-14 12:56:09 -07:00
938fb16069 adhoc: Load callbacks before sending v2_playbook_on_start (#67673)
(cherry picked from commit 370f788731)
2020-04-14 12:55:26 -07:00
f7c63c1201 get_url pass incorrect If-Modified-Since header(#67417) (#67419)
Fix #67417. HTTP header value of `If-Modified-Since` set by `get_url` does not follow HTTP protocol.

(cherry picked from commit 1097694355)
2020-04-14 12:55:12 -07:00
bf3cd041e7 Disable failing azure_rm_cosmosdbaccount test. 2020-04-09 17:47:56 -07:00
f75e1698f5 [stable-2.9] Optionally support task_uuid if passed from newer modules (#68556)
* Optionally support task_uuid if passed from newer modules

* Add changelog
2020-04-09 15:15:40 -07:00
8a14392a29 [stable-2.9] Update tests to use RHEL 7.8. (#68787)
* 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..
(cherry picked from commit 04edd77c42)

Co-authored-by: Matt Clay <mclay@redhat.com>
2020-04-09 01:53:33 -07:00
89937180c5 Fix win_psrepository tests
Backport of a5414cb0e4

Signed-off-by: Rick Elrod <rick@elrod.me>
2020-04-09 00:32:06 -07:00
7a861dd2f1 OpenSUSE15.1 container image + necessary test change (2.9 edition) (#68788)
* 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>

* 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>

* attempt to get tests passing again

Signed-off-by: Rick Elrod <rick@elrod.me>

Co-authored-by: Matt Clay <matt@mystile.com>
2020-04-09 00:29:32 -07:00
f1a21eb600 Backport of ansible-collections/community.general@7cec9cc972 (#68658) 2020-04-03 14:05:13 -05:00
6196aadcfa Backport of ansible-collections/community.crypto@28827db5d9 (#68630) 2020-04-03 14:03:22 -05:00
b84e3faa3f Add Kubernetes Working Group to Communicating guide. (#68501) 2020-04-03 14:02:12 -05:00
04ba05e003 document danger of kubectl options (#68195) 2020-04-03 14:01:34 -05:00
4433899b79 [2.9] vmware_cluster: Improve documentation for deprecated parameters (#68175)
* vmware_cluster: Improve documentation for deprecated parameters, with changelog fragment
2020-04-03 13:59:21 -05:00
d6a82e6865 galaxy - preserve mode properly on artifact (#68418) - 2.9 (#68451)
* galaxy - preserve mode properly on artifact (#68418)

* galaxy - preserve mode properly on artifact

* Fix py2 encoding issue

* Update lib/ansible/galaxy/collection.py

Co-Authored-By: Matt Clay <matt@mystile.com>

* Use sane defaults instead of sourcing from tarfile

Co-authored-by: Matt Clay <matt@mystile.com>
(cherry picked from commit 127d54b363)

* added mode to dir creation that was missed in backport
2020-03-31 16:00:07 -07:00
e5995a2eed Update Ansible release version to v2.9.6.post0. 2020-03-05 10:52:13 -08:00
9e3ccd64b6 New release v2.9.6 2020-03-04 18:23:12 -08:00
77be6d1b8d mysql_db: partial revert of backport #66998 2020-03-03 19:15:41 -08:00
6703ffd21d [stable-2.9] win_unzip - LiteralPath fix (#66972)
* win_unzip - LiteralPath fix

* Fix up Python sanity issues
(cherry picked from commit 2a9ec8975f)

Co-authored-by: Jordan Borean <jborean93@gmail.com>
2020-03-03 18:51:43 -08:00
8377f03eb2 Increase unit test timeouts. 2020-03-03 16:41:17 -08:00
1f2758af20 ansible-galaxy - fix role list bug (#67391) (#67619)
Properly list roles even when the role name is the same or a substring of the
path to the role.

(cherry picked from commit c64202a495)
2020-03-02 17:24:48 -08:00
7f90fde5b3 Bugfix of 65525: proxysql in check_config TypeError: tuple indices must be integers, not str (#66850) (#67334)
(cherry picked from commit a86524b2bb)
2020-03-02 17:22:35 -08:00
7051a7ff92 Fix eos_vlans docs (#67335)
wording in examples changed ios to eos (#66131)

wrong module was used in examples: should be eos_vlans not ios_vlans

(cherry picked from commit 506e2da0ff)

Add changelog for eos_vlans docs fix

Co-authored-by: qoreQyaS <github@gucke.net>
2020-03-02 17:22:21 -08:00
ed30858f50 Backport PR to fix the bug where IOS vlans module throws traceback (#67336)
* To fix the bug where IOS vlans module throws traceback (#64633)

* fix 64515

* add fix

(cherry picked from commit c5a2ba5217)

* changelog
2020-03-02 17:22:10 -08:00
49cb05d992 Fix creating IP specific firewall rules with Python 2 (#67394) 2020-03-02 17:21:40 -08:00
47fc7ab97d galaxy - Fix collection install dep resolver for bad versions (#67405) (#67413)
* Also make sure version is a string and not an int/float

(cherry picked from commit 4881af2e7e)
2020-03-02 17:21:17 -08:00
3d91f759c0 Backport/2.9/57737 ec2_asg unhandled exception (#67431)
* cope with an ASG instance not having a launch config any more (#57737)

* add changelog

Co-authored-by: Andrew de Quincey <adq@lidskialf.net>
2020-03-02 17:20:46 -08:00
1b65ecc71a azure_rm_rg_info: fix KeyError: 'ansible_facts' (#66729) (#67479)
* azure_rm_rg_info: fix KeyError: 'ansible_facts' (#66729)

* azure_rm_rg_info: fix KeyError: 'ansible_facts'

Fix facts for using old azure_rm_resourcegroup_facts, closes #66727

* fix intendation

(cherry picked from commit 569f0cf808)

* azure_rm_rg_info: add changelog fragment
2020-03-02 17:20:14 -08:00
587f241dbf Remove a host from a play after meta: end_host (#66851) (#67480)
* Remove a host from a play after meta: end_host

* Fix changelog

(cherry picked from commit a2c620819f)
2020-03-02 17:19:49 -08:00
ee9c5df0f0 vultr: Fix retry max delay param ignored (#67437) (#67513)
* vultr: Fix retry max delay param not taken

* add changelog

(cherry picked from commit bcd145c111)
2020-03-02 17:19:29 -08:00
f8aaa7dcd2 [2.9] VMware: vmware_export_ovf module fix Python3 compatibility issue (#67514)
(cherry picked from commit 023a9b3166)

Co-authored-by: Diane Wang <41371902+Tomorrow9@users.noreply.github.com>
2020-03-02 17:19:16 -08:00
e64b120bff openssl_* modules: prevent crash on fingerprint determination in FIPS mode (#67515) (#67519)
* openssl_* modules: prevent crash on fingerprint determination in FIPS mode.

* Add changelog.

(cherry picked from commit ca57871954)
2020-03-02 17:18:53 -08:00
e40e05576b [2.9] Fix links in Postgresql modules (#67525)
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
(cherry picked from commit 70b9bdbce6)
2020-03-02 17:18:39 -08:00
9351cbfde3 Fixi iscsi register backport (#67542)
* Fix KeyError for iSCSI parameters (#67463)

The required parameters for the LUN mapping for destination LUN is
address, port and iqn. However if the user doesn't pass parameters
like  CHAP authentication parameters, we will get KeyError. The patch
fixes the same.

* add changelog

Co-authored-by: Nijin Ashok <nashok@redhat.com>
2020-03-02 17:18:12 -08:00
151d83efc3 win_credential - fix wildcard name (#67549) (#67552)
(cherry picked from commit d7059881a2)
2020-03-02 17:17:58 -08:00
f243b39ef3 [stable-2.9] Do not error if collection specified null dependencies (#67575) (#67618)
(cherry picked from commit cffead4631)

Co-authored-by: Alan Rominger <arominge@redhat.com>

Co-authored-by: Alan Rominger <arominge@redhat.com>
2020-03-02 17:17:40 -08:00
ad4cad43ad Ovirt vm numa backport (#67700)
* ovirt_vm: correct numa nodes (#67611)

* init commit

* update docs

* update numa function name

* correct whitespaces

* add backport
2020-03-02 17:17:15 -08:00
a0c3d890c3 [stable-2.9] Allow SSH synchronization between Docker containers (#65698) (#67713)
* [stable-2.9] Allow SSH synchronization between Docker containers
(cherry picked from commit 1c15a485c2)

Co-authored-by: Nabil BENDAFI <nabil@bendafi.fr>

* Add changelog

(cherry picked from commit 854925b072)

Co-authored-by: Nabil BENDAFI <nabilbendafi@users.noreply.github.com>
2020-03-02 17:16:58 -08:00
18377e6390 [2.9] Allow nxos_l2_interfaces to append the allowed vlans list (#67703)
* Added Fix - Allow nxos_l2_interfaces to append the allowed vlans list (#66517)

* Added Integration tests

* Corrected lint errors

* Added fix for bug # 54400

* Revert "Added fix for bug # 54400"

This reverts commit bf42db4269.

* Revert "Adding files for RM static_routes"

This reverts commit dafdd92d43.

* Revert "Added Integration tests"

This reverts commit 129dc87682.

* Bug Fix 65332

* Added testcase for #66517

* Removed unnecessary commit

* fixing conflicts

* fixing conflicts

* addressed mikeweibe's comments

* Corrected lint errors

* Added idempotent tc for add vlans

* Added replaced and overridded tcs for trunk vlan add

(cherry picked from commit 4ac89b8ac7)

* backport to PR #66517
2020-03-02 17:16:23 -08:00
c3dbd69a1b [Backport/2.9/66098]: Fix duplicate log entries (#67719)
* Fix duplicate log entries (and add item support for failures) (#66098)


(cherry picked from commit 936bd83614)

* Backport + changelog for #66098
2020-03-02 17:15:58 -08:00
449626feb5 [2.9] hostname: Use hostnamectl for Systemd strategy (#67721)
Use hostnamectl command to get current hostname for host while using
systemd strategy.

Fixes: #67661

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
(cherry picked from commit 53aa258d78)
2020-03-02 17:15:36 -08:00
9c17410f58 strip spaces for each value in host list lists (#67701) (#67740)
(cherry picked from commit 9ea5bb3364)
2020-03-02 17:15:10 -08:00
afb389e588 Fix inline vaults for plugins in ensure_type (#67492) (#67741)
* Fix implicit string - only looked right because of the vault __repr__
* Add tests for strings and implicit strings

(cherry picked from commit 8eb00dd14c)
2020-03-02 17:14:42 -08:00
e379dc76c3 Run Powershell modules on windows container via docker connection (#67832) (#67872)
* Run modules on windows container

This provides an ability to run Powershell modules on windows container via docker connection. Otherwise, Ansible tries to run python modules on windows containers and fails.

* Removing whitespace in the blank lines

* Adding a changelog fragment

(cherry picked from commit e0eee3c37e)

Co-authored-by: Ruheena Ansari <ruheena0105@tamu.edu>
2020-03-02 17:14:13 -08:00
3fb4d109ce acme_* modules: adjust documentation to reference RFCs 8737 and 8738 instead of the drafts (#67881) (#67882)
* Adjust documentation to reference RFCs 8737 and 8738 instead of the drafts.

* More references.

(cherry picked from commit 35fd86c6bc)
2020-03-02 17:13:37 -08:00
ff3d3b59e2 Remove redundant check for pyopenssl (#67901) (#67903)
(cherry picked from commit 44d8ce9b31)

Co-authored-by: gp <gp+github@gparent.net>
2020-03-02 17:13:07 -08:00
6e7383807a Ovirt vm deprecated backport (#67923)
* ovirt_vm: remove deprecated warning (#67922)

* ovirt_vm: remove deprecated warning of boot params

* update docs

* add changelog
2020-03-02 17:12:47 -08:00
2376f20bd9 line indentation issue in postgresql_set (#67859)
Fixed indentation issue with the `register` for the example task in postgresql_set module.
(cherry picked from commit b437167671)
2020-03-02 16:31:00 -08:00
1e8bebb20b Bump min openstacksdk version for os_network/{port_security_enabled,mtu}
To make use of the port_security_enabled [a] and mtu [b] parameters,
[c] and [d] need to be present in the openstacksdk or the os_network
module with return an error like:

TypeError: create_network() got an unexpected keyword argument 'port_security_enabled'

or:

TypeError: create_network() got an unexpected keyword argument 'mtu'

To handle this, we fail the module if one of the arguments are used
and the minimum openstacksdk version for that argument is not met.

[a] eaf238b033
[b] c6a8e99d34
[c] 8eb788af07
[d] a1fc820a2f

Backport-of: https://review.opendev.org/708119
Fixes: https://github.com/ansible/ansible/issues/62062
Change-Id: I2b80dc721a08bbdb530af3705ae99cf1b579d9f0
2020-03-02 15:54:22 -08:00
f90c7411e8 Bugfix of 65351: mysql_db create dump with CREATE DATABASE and USE instruction 2020-03-02 15:25:14 -08:00
cddecf8c05 Backport/2.9/60508 (#67531)
* route53: improve octal encoded characters handling

* Update changelogs/fragments/60508-route53-improve-octal-characters-handling.yml

Co-Authored-By: Felix Fontein <felix@fontein.de>

Co-authored-by: Felix Fontein <felix@fontein.de>
2020-03-02 14:52:19 -08:00
a24dcf232c docker_login: fix permissions for ~/.docker/config.json (#67353)
* Fix permissions for ~/.docker/config.json.

* Add changelog, remove debug output.

(cherry picked from commit 55cb8c5388)
2020-03-02 14:41:03 -08:00
6fc2ae7476 [stable-2.9] Clean up CONDITIONAL_BARE_VARS warning. Fixes #67735 (#67751).
(cherry picked from commit 6e1a59174a)

Co-authored-by: Matt Martz <matt@sivel.net>
2020-03-02 14:31:55 -08:00
0f7d62f6a5 ansible-galaxy - optimise some paths and use fake galaxy int tests (#67685) - 2.9 (#67874)
* ansible-galaxy - optimise some paths and use fake galaxy int tests (#67685)

* ansible-galaxy - optimise some paths and use fake galaxy int tests

* Added init, built, and publish tests

* Test against both mocked Galaxy and AH server

* Finish off writing the install tests

* Fix up broken tests

* Rename test target and add migrated tests

* Use cloud provider for Galaxy implementation

* Added blank static config

* Use correct alias group

* Set release version and fix copy typo

* Remove reset step as it is no longer needed

* Use sane env var names for test container name

(cherry picked from commit 26129fcb80)

* Use --api-key and not --token

* Set fallaxy tests as a smoketest

(cherry picked from commit b241c021b7)
2020-03-02 14:26:27 -08:00
b38603c45e Templating: make sure only one variable results are cached (#67429)
* Make sure only one variable results are cached.

* Add changelog.

* Add test.

(cherry picked from commit c520d70bf4)
2020-03-02 14:20:42 -08:00
48bfa3e906 Fix to - eos_vlans using state parameter replaced is giving odd behavior (#67346)
* backport PR 67318

* added changelog file

* Added missing fixture file
2020-03-02 14:17:56 -08:00
7cac554222 Add collection support for network platform agnostic modules (#66342)
*  Refactor net_base action plugin to invoke platform
   action plugin with implementation module name updated
   in the new task copy.

(cherry picked from commit 0d85ab1fe3)
2020-03-02 14:00:55 -08:00
eb01926b43 Backport PR #67339 - Fix proxysql module cursor_class (#67471)
* Fix merge conflicts

* remove db_conn  as mysql_utils was not backported from devel

* fix indentation for sanity check
2020-03-02 13:54:52 -08:00
9c1794ebfd remove unused import 2020-03-02 13:51:34 -08:00
39cfb63be6 Allow no_log=False to silence the no_log warnings for module parameters (#64733) (#67439)
As AnsibleModule._log_invocation is currently implemented, any parameter
with a name that matches PASSWORD_MATCH triggers the no_log warning as a
precaution against parameters that may contain sensitive data, but have not
been marked as sensitive by the module author.

This patch would allow module authors to explicitly mark the aforementioned
parameters as not sensitive thereby bypassing an erroneous warning message,
while still catching parameters which have not been marked at all by the
author.

Adds tests for various no_log states including True, False, and None (as
extracted by AnsibleModule._log_invocation) when applied to an argument with
a name that matches PASSWORD_MATCH.

Fixes: #49465 #64656
(cherry picked from commit 3ca4580cb4)
2020-02-24 16:54:29 -06:00
1bab4c99f3 Backport of 67645 docs/docsite/rst/: fix typos (#67649) 2020-02-24 16:51:23 -06:00
4cc4d77c4b [2.9] Backport /docs/docsite/rst: fix typos (#67650)
* user_guide/intro_adhoc.rst: fix typo (#67644)

(cherry picked from commit 05a3192eb7)

* dev_guide/developing_modules_best_practices.rst: fix typo (#67639)

(cherry picked from commit 244277addd)

* /docs/docsite/rst/dev_guide: fix typos (#67643)

(cherry picked from commit 907c98ebcd)
2020-02-24 16:49:40 -06:00
c6a29ed7d2 [stable-2.9] Update example requirements file docs (#67626) (#67714)
Use "name" when possible rather than "src" to make the examples
of roles and collections in a single requirements files more
coherenant. Fundamentally, roles and collections are completely different.
But we can make the requiremets file easier to read by unifying the
format as much as possible.
(cherry picked from commit 6c70959131)

Co-authored-by: Sam Doran <sdoran@redhat.com>
2020-02-24 16:48:36 -06:00
0da817b827 postgresql_info module: fix broken link (#67517) (#67521)
(cherry picked from commit 5a7c58b2be)
2020-02-18 09:48:24 -06:00
e047c8c70e ovirt_disk: correct description of storage_domain (#67454) (#67518)
* ovirt_disk: correct description of storage_domain
* add changelog

Signed-off-by: mnecas <necas.marty@gmail.com>
Co-authored-by: Abhijeet Kasurde <akasurde@redhat.com>
2020-02-18 09:43:10 -06:00
80e5ed0bba Specify lowercase only for Galaxy namespaces (#67485) (#67503)
* specify lowercase only for galaxy namespaces
* doh... include meta file

(cherry picked from commit a60feeb3c1)
2020-02-17 17:39:59 -06:00
79ad190f71 [backport][2.9]Add note that devel branch should not be used in real environments (#… (#67494)
* Add note that devel branch should not be used in real environments (#67483)

(cherry picked from commit 39fef58bea)
2020-02-17 15:12:45 -06:00
9895e18e24 Clarify b64encode with Python 2 (#67488) (#67491)
(cherry picked from commit 423a900791)
2020-02-17 15:12:18 -06:00
a95c76855d Fix broken links in crypto, docker and hetzner modules. (#67360) (#67363)
(cherry picked from commit 11e75b0af2)
2020-02-17 10:47:48 -06:00
227f498314 stable-2.9: Restore Tower integration tests. (#67395)
* Move tower_common tests with tower_organization.

(cherry picked from commit c92697acec)

* Test: Bump TOWER_VERSION to supported version (#67378)

* Revert "Remove Tower module tests from CI. (#67368)"

This reverts commit b041d96762.

* Test: Bump TOWER_VERSION to 3.6.2

(cherry picked from commit b9bd2c25ca)

Co-authored-by: Yanis Guenane <yguenane@gmail.com>
2020-02-13 16:22:24 -08:00
8fc3dfca32 Update Ansible release version to v2.9.5.post0. 2020-02-13 13:17:47 -08:00
9388be4269 New release v2.9.5 2020-02-13 08:30:05 -08:00
6f95e9629b [stable-2.9] Remove Tower module tests from CI. (#67368) (#67371)
* [stable-2.9] Remove Tower module tests from CI. (#67368)

* Remove Tower module tests from CI.

The required AMIs are no longer available.

* Mark Tower tests as unsupported..
(cherry picked from commit b041d96762)

Co-authored-by: Matt Clay <mclay@redhat.com>

* Mark tower_common unsupported.
2020-02-12 22:13:39 -08:00
aeade1412f Docs: improve anchors vs. header bar (#67244) (#67317)
(cherry picked from commit fd43619f1a)
2020-02-11 15:00:56 -06:00
b49d1d9810 Backport ovirt disk docs (#67301)
* ovirt_disk: update interface docs (#67272)
* add changelog
2020-02-11 09:51:14 -06:00
04994e8dfb [stable-2.9] ansible-test - add constraint for virtualenv (#67289)
* ansible-test - add constraint for virtualenv

* Limit virtualenv only on macOS.

Co-authored-by: Matt Clay <matt@mystile.com>
(cherry picked from commit 8f296a6533)

Co-authored-by: Sam Doran <sdoran@redhat.com>
2020-02-10 18:01:51 -08:00
1dafd80eab fix changelog entry failing rstcheck 2020-02-10 18:01:26 -08:00
54ca524da3 nxos_interfaces: RMB state fixes (#63960) (#67173)
* nxos_interfaces: RMB state fixes

* shippable fixes

* Add add'l comments per review

* fix long line

* Fix mode/enabled system defaults handling

* fix N3L test skips

* lint

* test updates for titanium images

* doc fix

(cherry picked from commit d72025be75)

Add changelog for nxos_interfaces fix

Co-authored-by: Chris Van Heuveln <cvanheuv@cisco.com>
2020-02-10 15:35:49 -08:00
c956f9cffe fix systemd use in container builds (#66062) (#67140)
* systemd: unify "systemctl show" failure cases

* systemd: is-enabled to detect configured state

* systemd: is-enabled to detect masked status

(cherry picked from commit b868f1c933)
2020-02-10 15:33:22 -08:00
aa64519072 wait_for_connection: also retry interpreter discovery (#67040) (#67136)
self._discovered_interpreter_key is None unless a previous iteration
has attempted discovery.  In that case, force re-discovery, as the
previous attempt certainly failed.

(cherry picked from commit fd954a9c5c)
2020-02-10 15:32:31 -08:00
7b03b581dc Make nios_txt_record use text field for object lookup (#67120)
Up until now, nios_txt_record assumed that the name and view
parameters uniquely described a TXT record. What this meant is that it
was impossible to have more than one TXT record with a certain name.

Changes in this commit expands the set of parameters that uniquely
identify the TXT record with a text field.
2020-02-10 15:31:19 -08:00
569218f0cd Fix removed_in_version to support honor suboptions (#66918) (#67104)
* Add unit tests.
* Fix reporting for removed_in_version.
* Add changelog.

(cherry picked from commit fe454d27a1)
2020-02-10 15:30:37 -08:00
f330286734 [Backport/2.9/66604] Fix powershell path_join for UNC path handling (#67073)
* Update to use os.ntpath

(cherry picked from commit 1522820612)

* Add changelog for #66604

(cherry picked from commit 40761c73b6)
2020-02-10 15:29:36 -08:00
42cae0a801 openssl_publickey: forgot to pass backend (#67036) (#67039)
* Forgot to pass backend.

* Add changelog.

* Pass on backend from get_fingerprint.

* Handle cryptography backend in get_fingerprint.

(cherry picked from commit a0e5e2e4c5)
2020-02-10 15:28:52 -08:00
5ca28963e5 Backport of 66806: mysql_variables not supporting variables name with dot (#67007) 2020-02-10 15:27:55 -08:00
287ea7d319 Fix user_agent string not getting set (#67001)
(cherry picked from commit cb9e24fbd2)
2020-02-10 15:26:39 -08:00
c529c86c1e Backport of 66995: mysql_user doesnt support privileges with underscore (#66998) 2020-02-10 15:24:12 -08:00
5d406cffca Bump minimum openstacksdk version when using os_network/dns_domain (#66952)
With the addition of [a], the minimum openstacksdk version needs to
be bumped to include [b], or the os_network module will return the
error:

TypeError: create_network() got an unexpected keyword argument 'dns_domain'

To handle this, we fail the module if the dns_domain argument is used
and the minimum openstacksdk version for that argument is not met.

[a] 6c74e29618
[b] a3e846e2b9

Fixes: #64495
Fixes: #64841
2020-02-10 15:23:38 -08:00
31e348409f [stable-2.9] nxos_facts: Don't fail if faninfo isn't reported (#66866) (#66949)
(cherry picked from commit bf65e7a)

Co-authored-by: Nathaniel Case <ncase@redhat.com>
2020-02-10 15:21:59 -08:00
69ba90098a When no pool quantity is set, then do not set quantity to 1 (#66807) (#66933)
* Fixes #66478
* When no quantity is set, then candlepin server usually uses
  default value 1. When more quantities are required, then
  candlepin server can automatically choose correct minimal
  value.

(cherry picked from commit 6f1bb37feb)
2020-02-10 15:21:16 -08:00
f54263c459 Backport/2.9/55220 (#66757)
* Working Cisco IOS macro editing (fixes #55211) (#55220)

* Working Cisco IOS macro editing (fixes #55211)

* Working Cisco IOS macro editing [fixed pylints] (fixes #55211)

* Added integration tests for edit_macro

* Added conditional integration tests for ios_config macro

* Cosmetic fix: when near block for added conditional integration tests for ios_config macro

* Move teardown to always for block

(cherry picked from commit 4a0c875447)

* changelog

Co-authored-by: Albert Siersema <albert@mediacaster.nl>
2020-02-10 15:19:57 -08:00
77985f2beb galaxy: fix AttributeError on empty requirements.yml (#66726) (#66752)
* galaxy: fix AttributeError on empty requirements.yml

* add changelog

(cherry picked from commit 9e8fb5b7f5)
2020-02-10 15:18:37 -08:00
f8c4a38ffe Backport PR to fix the duplication of IPV6 address with replace state in ios_l3_interfaces module (#66680)
* fix 66530 (#66654)


(cherry picked from commit 0c4f167b82)

* changelog

* Update 66654-fix-ipv6-duplication-for-replace-state-ios-l3-interfaces.yaml

Co-authored-by: Matt Davis <nitzmahone@users.noreply.github.com>
2020-02-10 15:17:58 -08:00
481327ec37 group - correctly determine if a local group exists. (#59772) (#67176)
Fixes #58619
Add integration test

(cherry picked from commit 80c4b86abe)
2020-02-10 15:16:15 -08:00
0ed22d1fbc add info on creating doc fragments in a collection (#67171) (#67279)
* add info on creating doc fragments in a collection
Co-authored-by: Alicia Cozine <879121+acozine@users.noreply.github.com>

(cherry picked from commit 4dd2513371)
2020-02-10 15:14:46 -08:00
361d7c677f Fix DNF idempotency. (#66209) (#66578)
(cherry picked from commit a7e4479d01)
2020-02-10 14:27:31 -08:00
99c96bbf42 [2.9] gitlab_project_variable: Remove sensitive information (#66559)
Redact GitLab Project variables which might include sensetive information
such as password, api_keys and other project related details.

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
(cherry picked from commit 84b68aa05f)
2020-02-10 14:25:29 -08:00
6f0f2c9d68 [stable-2.9]add one note to help ansible user to understand the requirements to (#65969) (#66493)
execute iosxr_command module

Signed-off-by: Peng Xiao <xiaoquwl@gmail.com>
(cherry picked from commit 69f9c3c8eb)
2020-02-10 14:24:56 -08:00
a764f332f9 Declare support for Python 3.8 @ Trove classifiers (#66514)
(cherry picked from commit ee290bf5b1)

Co-authored-by: Sviatoslav Sydorenko <wk.cvs.github@sydorenko.org.ua>
2020-02-10 14:23:21 -08:00
57fbb0e571 Backports/2.9/67188 aws_az_info: Fix rename deprecaction warning (#67208)
* aws_az_info: Fix rename deprecaction warning (#67188)

* Add changelog
2020-02-10 14:22:43 -08:00
a9c3bfa96c Backport PR #66219 to support the backport of PR #64733 (#67209)
* Update user module to support no_log=False. (#66219)

Updates the user module to support pull request #64733. Neither the
update_password or password_lock field contains sensitive information, so
mark them as such.

(cherry picked from commit 40394ed671)

* Backport PR #66219 to support PR #64733

Backport PR #66219 to support the backport of PR #64733
(see: https://github.com/ansible/ansible/pull/66219).

* Delete backport-66219-update-user-module-for-64733.yml

* Update 66219-update-user-module-for-64733.yml

Co-authored-by: Matt Davis <nitzmahone@users.noreply.github.com>
2020-02-10 14:21:45 -08:00
7ace25dd6d Backport of pmrun.py: Recreate the older behavior where the entire success command was quoted (#67241)
* pmrun - quote success command (#66929)

* Recreate the older behavior where the entire success command was quoted

* Use shlex_quote for a correct fix of this

* Add changelog fragment

(cherry picked from commit fd8eb77cc3)

* Backport of 66929-pmrun-quote-entire-success-command-string

* Update changelog fragment

* Delete 66929-pmrun-quote-entire-success-command-string.yml

Unclear from docs, but this is the devel fragment so removing.

* Update changelog
2020-02-10 14:20:14 -08:00
182831d8b0 Make banner detection non-greedy in ios_banner (#63092) (#66274)
* Make banner detection non-greedy in ios_banner (#63092)

* Make banner detection non-greedy in ios_banner

* Added ios_banner unit test to detect bug #63091

* Corrected PEP8 errors

* Added integration test

* Corrected typo in integration test

(cherry picked from commit 01a92f0191)

* Added changelog fragment

* Update 66274-ios_banner_nongreedy.yml

Co-authored-by: kalimsshar <34369784+kalimsshar@users.noreply.github.com>
Co-authored-by: Matt Davis <nitzmahone@users.noreply.github.com>
2020-02-10 14:15:40 -08:00
b390f808d9 Link the testing documentation to the module documenting page (#67248) (#67288) 2020-02-10 14:15:20 -08:00
93e66c1362 Backport ovirt job (#67076)
* ovirt_job: add when job is detected but in state finished (#66810)

* ovirt_job: add when job is detected but in state finished

* add docs

* add changelog
2020-02-10 14:14:56 -08:00
045fc371eb win_uri: fix up tests (#67064) (#67066)
(cherry picked from commit 3ada0b2f65)
2020-02-10 14:14:28 -08:00
b9a2466e76 docker_container and docker_swarm_service: allow to actually disable healthcheck of image (#66599) (#67056)
* Allow to actually disable healthcheck of image.

* Add changelog.

(cherry picked from commit 5c1a3a3ac2)
2020-02-10 14:14:13 -08:00
e42c007753 Fix pacman: "IndexError: list index out of range" #63077 (#65750) (#67011)
* Fix #63077

If the package is already installed the stdout is not as expected by this function. Either remove `--needed` or just noop if we detect pacman returning. We cannot match the stdout string, as that is most likely localized.

```
[root@archBook user]# /usr/bin/pacman --upgrade --noconfirm --noprogressbar --needed  /srv/aur/src/i3cat-git/i3cat-git-r38.c6d29dd-1-x86_64.pkg.tar.xz
loading packages...
warning: i3cat-git-r38.c6d29dd-1 is up to date -- skipping
 there is nothing to do
```

* Add comment

Add comment

* Add changelog fragment.

Co-authored-by: Felix Fontein <felix@fontein.de>
(cherry picked from commit 14b1febf64)

Co-authored-by: Klaus Frank <agowa338@users.noreply.github.com>
2020-02-10 14:13:51 -08:00
a2b5af86dd [stable-2.9] include_vars - fix stack trace when run ad-hoc with dirs parameter (#66581) (#66910)
Add integration test

There are a number of other parameters that result in stack traces as well when this module is used ad-hoc. I'm not sure if we're interested in fixing them all since this module isn't meant to be run ad-hoc.
(cherry picked from commit cc2376b782)

Co-authored-by: Sam Doran <sdoran@redhat.com>
2020-02-10 14:13:22 -08:00
aaadf71438 [stable-2.9] tests: ipify_facts: retry on fail (#66897) (#66903)
(cherry picked from commit 91063f40d6)

Co-authored-by: Rene Moser <mail@renemoser.net>

Co-authored-by: René Moser <mail@renemoser.net>
2020-02-10 14:12:54 -08:00
becf3fbf97 Ovirt add search with space (#66890)
* ovirt search name with space (#59184)

* init ovirt_search_name_with_space

* add search_by_name with whitespace

* add comments

* add changelog
2020-02-10 14:12:28 -08:00
587ed81d16 Backport ovirt network correct (#66886)
* ovirt_network: correct when not specified external_provider (#66859)

* add backport
2020-02-10 14:11:53 -08:00
783daf9d1b throttle: fix linear based strategies (#65422) (#66805)
* throttle tests: fix detection of parallel execution

The test wasn't able to detect if too many workers were running.

On my laptop:
- without this change, the 'throttle' target takes ~20 seconds
- with this change, the 'throttle' target takes ~70 seconds
- 1 second isn't long enough to encounter the issue

* Fix throttle test when strategy is 'free' based

'free' strategy allows multiple tasks to be executed in parallel: use
one 'throttledir' per task.

Use 'linear' strategy with a dedicated play for cleanup/setup tasks

* throttle: reset worker idx before queuing a new task

* TestStrategyBase: define task.throttle

otherwise '1' will be used instead of the default value due to the
following expression being equal to '1':

    int(templar.template(task_mock.throttle))

Co-authored-by: James Cammarata <jimi@sngx.net>
(cherry picked from commit bbbdc1c25c)
2020-02-10 14:11:17 -08:00
6df09ae41e pamd: Fix AttributeError when removing the first or last rule (#66398) (#66776)
(cherry picked from commit a4b59d0213)
2020-02-10 14:10:48 -08:00
474e6b1094 Backport 2.9: nxos_telemetry - Fix fact gathering for sensor-groups (#66677)
* Fix fact gathering for sensor-groups (#66439)

(cherry picked from commit 5c158755fc)

Add changelog for nxos_telemetry fix

* Update 66439_fix_nxos_telemetry_facts.yaml

Co-authored-by: Mike Wiebe <mwiebe@cisco.com>
Co-authored-by: Matt Davis <nitzmahone@users.noreply.github.com>
2020-02-10 14:10:29 -08:00
0952dad9e2 [stable-2.9] jenkins_job module: fix for python3 (#66642)
* jenkins_job module: fix for python3 (#54958)

* jenkins_job module: add changelog fragment
2020-02-10 14:10:12 -08:00
0731fff994 [stable-2.9] Reinstall i18n files for PostgreSQL tests (#66734) (#66769)
I am removing these from the test image to reduce its size a bit.
(cherry picked from commit 9df9ed4cd3)

Co-authored-by: Sam Doran <sdoran@redhat.com>
2020-02-10 14:09:32 -08:00
13023455e1 [stable-2.9] display - remove extra new line after warning message (#65199) (#66768)
Add unit tests for display
(cherry picked from commit 8e195adda5)

Co-authored-by: Sam Doran <sdoran@redhat.com>
2020-02-10 14:09:11 -08:00
3245b3dff2 [stable-2.9] synchronize - fix password authentication (#66542) (#66661)
On Python 2, leave all fds open since there is no mechanism to close specific fds with subprocess.Popen() on Python 2

Add unit tests.

Co-authored-by: Matt Martz <matt@sivel.net>
(cherry picked from commit 617fbad743)

Co-authored-by: Sam Doran <sdoran@redhat.com>
2020-02-10 14:08:16 -08:00
6120cd18e2 [stable-2.9] podman - fix rootless container copy no pause (#66583) (#66588)
Fixes #66263

Signed-off-by: Adam Miller <admiller@redhat.com>
(cherry picked from commit 077a8b4898)

Co-authored-by: Adam Miller <admiller@redhat.com>

Co-authored-by: Adam Miller <admiller@redhat.com>
2020-02-10 14:07:26 -08:00
c4f1e04bef [stable-2.9] file - change _diff_peek type in argument_spec (#60428) (#66587)
* Add integration tests
* Handle error in _get_diff_data()
* Change to warning rather than error
* Also change failure to warning in assemble action plugin
(cherry picked from commit 9b7198d25e)

Co-authored-by: Sam Doran <sdoran@redhat.com>
2020-02-10 14:07:07 -08:00
3284262a60 Use UTF-8 without a BOM for win coverage (#66510) (#66513)
(cherry picked from commit e459eac565)
2020-02-10 14:06:39 -08:00
04d5325c3f Document network resource modules (#66226) (#67053)
* add network resource module details to docs

(cherry picked from commit 3e35d2d63ce17fb694e645785ad855f01420f7d8)

* network resource module page, with example output

(cherry picked from commit 2ad6055efd)
2020-02-05 10:35:59 -06:00
05df06fe4d Add anchor to each parameter row (#66895) (#67057)
* Add anchor to each paramater row
* Update docs/templates/plugin.rst.j2
* Insert full keys into plugin docs.
* Added visible links.

Co-authored-by: Felix Fontein <felix@fontein.de>
(cherry picked from commit 5b93a14a0f)

Co-authored-by: Dick Visser <dick.visser@geant.org>
2020-02-05 10:35:17 -06:00
c8610efa24 Network prompts (#66584) (#67054)
* add network prompt examples and module examples

* Update docs/docsite/rst/network/user_guide/network_working_with_command_output.rst

Co-Authored-By: Nathaniel Case <this.is@nathanielca.se>
(cherry picked from commit 68ab8c23be)
2020-02-05 10:28:44 -06:00
aff77f7b02 win_mapped_drive - Add WebDAV information (#67111) (#67112)
(cherry picked from commit f23cee2145)
2020-02-05 10:22:03 -06:00
a8657de818 Ovirt add docs ova backport (#66653)
* ovirt_vm: add docs about importing ova (#66652)

Signed-off-by: mnecas <necas.marty@gmail.com>
2020-02-05 09:58:09 -06:00
1e7434c49d Adding network plugin changes for netconf and network_cli (#65708) (#67049)
* Adding network plugin changes for netconf and network_cli

(cherry picked from commit b349ec8fcf)
2020-02-04 12:20:13 -06:00
a8b71747ae [stable-2.9] Add constraints for Jinja2 on Python 2.6. (#66826)
* Add constraint for Jinja2 on Python 2.6.

* Fix constraint in inventory_aws_conformance test.

* Add constrraints for template_jinja2_latest test.
(cherry picked from commit 965854fbd2)

Co-authored-by: Matt Clay <matt@mystile.com>
2020-01-27 15:18:49 -08:00
29cdd1ccca [stable-2.9] Change package name in docker_setup integration test (#66572)
* Change package name

* Retry to hopefully get a good mirror
(cherry picked from commit f15050b09e)

Co-authored-by: Sam Doran <sdoran@redhat.com>
2020-01-24 11:31:35 -08:00
26a09160eb Trim down to one Ansible search option (#66284) (#66664)
* move swiftype search to upper left of docsite, fix spacing and length issues for search icon and searchbox

(cherry picked from commit 1a0724fdd4)
2020-01-22 15:42:59 -06:00
af0a72df30 Add a banner which will display on the testing site. (#64763) (#66666)
* Add a banner which will display when the docs are published to the testing site.
Thanks to shane for the javascript code

Co-authored-by: Sandra McCann <samccann@redhat.com>
(cherry picked from commit 365820f871)

Co-authored-by: Toshio Kuratomi <a.badger@gmail.com>
2020-01-21 15:58:44 -06:00
c99f753239 Update Ansible release version to v2.9.4.post0. 2020-01-20 14:41:07 -08:00
434 changed files with 6047 additions and 1281 deletions

View File

@ -1545,3 +1545,136 @@ releases:
- 66549-enablerepo-not-honored-when-used-with-disablerepo-all.yml
- v2.9.4_summary.yaml
release_date: '2020-01-20'
2.9.5:
codename: Immigrant Song
fragments:
- 54958-jenkins-job-python3-support.yml
- 55220-Fix-to-enable-edit-Cisco-IOS-macros.yaml
- 56629-synchronize-password-auth.yaml
- 59184-ovirt_add_search_with_space.yml
- 59772-fix_ansible_issue_58619.yaml
- 63960_fix_nxos_interfaces.yaml
- 64495-os_network-openstacksdk-min.yml
- 64963-dnf_idempotence.yml
- 65422-fix-throttle-with-linear-strategy.yml
- 65750-pacman.yml
- 65969-iosxr-command-requirements-update.yaml
- 66219-update-user-module-for-64733.yml
- 66263-podman-connection-no-pause-rootless.yml
- 66274-ios_banner_nongreedy.yml
- 66398-pamd_fix-attributeerror-when-removing-first-line.yml
- 66439_fix_nxos_telemetry_facts.yaml
- 66599-docker-healthcheck.yml
- 66604-powershell-unc-paths.yml
- 66652-ovirt_vm-add-docs-ova.yml
- 66654-fix-ipv6-duplication-for-replace-state-ios-l3-interfaces.yaml
- 66726-galaxy-fix-attribute-error.yml
- 66806-mysql_variables_not_support_variables_with_dot.yml
- 66807-redhat_subscription-no-default-quantity.yaml
- 66810-ovirt_job-add-when-job-is-detected-but-in-state-finished.yml
- 66859-ovirt_netwrok-correct-external-provider-check.yml
- 66866_nxos_fan_facts.yaml
- 66914-purefa_user_string.yaml
- 66918-removed_in_version-fix.yml
- 66974-mysql_user_doesnt_support_privs_with_underscore.yml
- 67036-openssl_publickey-backend.yml
- 67188-fix-aws_az_info-deprecation.yaml
- 67241-pmrun-quote-entire-success-command-string.yml
- 67272-ovirt_disk-update-interface-docs.yml
- ansible-test-constraints-virtualenv.yml
- ansible-test-jinja2-python-2.6.yml
- file-fix-diff-peek-arg-spec.yaml
- gitlab_project_variable.yml
- include_vars-ad-hoc-stack-trace-fix.yaml
- systemd-offline.yml
- v2.9.5_summary.yaml
- wait_for_connection-interpreter-discovery-retry.yaml
- warnings-remove-extra-newline.yaml
- win-coverage-out-encoding.yaml
release_date: '2020-02-13'
2.9.6:
codename: Immigrant Song
fragments:
- 57737-fix-asg-with-no-lc-anymore.yml
- 59438-hostname-use-hostnamectl.yml
- 60265-vmware_export_ovf-py3fix.yml
- 60508-route53-improve-octal-characters-handling.yml
- 62062-os_network-openstacksdk-min.yml
- 64633-fix-ios-vlans-traceback-error.yaml
- 64733-make-no_log-false-override-no_log-warnings.yml
- 65698-synchronize-docker-controller-managed.yml
- 66098-unixy-remove-duplicate-log-entries.yaml
- 66131_backport_eos_vlans_doc_fix.yaml
- 66517-nxos-append-allowed-vlans.yaml
- 67303-vmware_host_firewall_manager-fix_ip_specific_firewall_rules_for_python2.yml
- 67318-eos_vlans_replaced.yml
- 67337-fix-proxysql-mysql-cursor.yaml
- 67353-docker_login-permissions.yml
- 67365-role-list-role-name-in-path.yml
- 67429-jinja2-caching.yml
- 67437-vultr-fix-retry-max-delay-param.yml
- 67454-ovirt_disk-correct-description-of-storage_domain.yml
- 67463-ovirt_vm-fix-keyError-for-iSCSI-parameters.yml
- 67479-fix-azure_rm_resourcegroup_facts.yaml
- 67492-fix-decrypting-str-types-for-plugins.yaml
- 67511-postgresql-fix-link.yml
- 67515-openssl-fingerprint-fips.yml
- 67574-null_collection_dependency_list.yml
- 67611-ovirt_vm-correct-numa-nodes.yml
- 67735-warning-cleanup.yml
- 67767-mysql_db_fix_bug_introduced_by_56721.yml
- 67832-run_powershell_modules_on_windows_containers.yml
- 67901-get_certificate-fix-cryptography.yml
- 67922-ovirt_vm-remove-deprecation-warning.yml
- ansible-galaxy-collections.yaml
- end_host-remove_host_from_play.yml
- galaxy-collection-install-version.yaml
- net_modules_collection_support.yml
- pathlist_strip.yml
- v2.9.6_summary.yaml
- valdate-modules-ps-arg-util.yaml
- win_credential-wildcard.yaml
- win_unzip-paths.yaml
release_date: '2020-03-04'
2.9.7:
codename: Immigrant Song
fragments:
- 64074_update_nxos_lacp.yaml
- 64628-dense-callback-warning.yml
- 64906-always-delegate-fact-prefixes.yml
- 64958-routeros-facts-ipv6.yml
- 65715-vmware-content-deploy-template-fix-cluster.yml
- 65968-vmware_guest_network.yml
- 66525-fix-assing-role-domain-only.yml
- 66592_ipa_encoding_fix.yml
- 67417-get_url-incorrect-if-modified-since.yaml
- 68044-mysql_user_idempotency.yml
- 68175-vmware_cluster-document_alternatives_for_deprecated_parameters.yml
- 68180-purefa_smnp_fixes.yaml
- 68496-persistent-logging.yaml
- 68505-ovirt_storage_domain-fix-update_check-warning_low_space.yml
- 68556-start_conn-forward-compat.yaml
- af_clean.yml
- ansible-adhoc-cb-playbook_start.yaml
- ansible-test-opensuse-15.1.yml
- ansible-test-rhel-7.8.yml
- collection-install-mode.yaml
- community.general-80-update_docker_connection_plugin.yml
- fallback_uid.yml
- fetch_no_slurp.yml
- galaxy-install-tar-path-traversal.yaml
- ldap-params-removal.yml
- passwordstore_fix.yml
- plugin_doc_link_fix.yml
- rabbitmq-3.8.yml
- remote_mkdir_fix.yml
- subversion_password.yaml
- v2.9.7_summary.yaml
- vault_tmp_file.yml
- vault_tmp_race_fix.yml
- vmware_rest_client_tag_fix.yml
- warnings-remove-extra-newline-better.yaml
- win-unzip-check-extraction-path.yml
- win-web-request-no_proxy.yaml
- win_setup-fqdn.yaml
release_date: '2020-04-16'

View File

@ -5,6 +5,195 @@ Ansible 2.9 "Immigrant Song" Release Notes
.. contents:: Topics
v2.9.7
======
Release Summary
---------------
| Release Date: 2020-04-16
| `Porting Guide <https://docs.ansible.com/ansible/devel/porting_guides.html>`__
Minor Changes
-------------
- 'Edit on GitHub' link for plugin, cli documentation fixed to navigate to correct plugin, cli source.
- Handle get_tags_for_object API correctly in vmware_rest_client.
- Remove redundant encoding in json.load call in ipa module_utils (https://github.com/ansible/ansible/issues/66592).
- ansible-test - Upgrade OpenSUSE containers to use Leap 15.1.
- ansible-test now supports testing against RHEL 7.8 when using the ``--remote`` option.
- vmware_cluster - Document alternatives for deprecated parameters
Removed Features (previously deprecated)
----------------------------------------
- ldap_attr, ldap_entry - The ``params`` option has been removed in Ansible-2.10 as it circumvents Ansible's option handling. Setting ``bind_pw`` with the ``params`` option was disallowed in Ansible-2.7, 2.8, and 2.9 as it was insecure. For information about this policy, see the discussion at: https://meetbot.fedoraproject.org/ansible-meeting/2017-09-28/ansible_dev_meeting.2017-09-28-15.00.log.html This fixes CVE-2020-1746
Bugfixes
--------
- **security issue** - The ``subversion`` module provided the password via the svn command line option ``--password`` and can be retrieved from the host's /proc/<pid>/cmdline file. Update the module to use the secure ``--password-from-stdin`` option instead, and add a warning in the module and in the documentation if svn version is too old to support it. (CVE-2020-1739)
- **security issue** win_unzip - normalize paths in archive to ensure extracted files do not escape from the target directory (CVE-2020-1737)
- **security_issue** - create temporary vault file with strict permissions when editing and prevent race condition (CVE-2020-1740)
- Alter task_executor's start_connection to support newer modules from collections which expect to send task UUID.
- Ansible.ModuleUtils.WebRequest - actually set no proxy when ``use_proxy: no`` is set on a Windows module - https://github.com/ansible/ansible/issues/68528
- Ensure DataLoader temp files are removed at appropriate times and that we observe the LOCAL_TMP setting.
- Ensure we don't allow ansible_facts subkey of ansible_facts to override top level, also fix 'deprefixing' to prevent key transforms.
- Ensure we get an error when creating a remote tmp if it already exists. CVE-2020-1733
- Fact Delegation - Add ability to indicate which facts must always be delegated. Primarily for ``discovered_interpreter_python`` right now, but extensible later. (https://github.com/ansible/ansible/issues/61002)
- Fix nxos_lacp replace operation (https://github.com/ansible/ansible/pull/64074).
- Handle equal sign in password while using passwordstore lookup plugin.
- In fetch action, avoid using slurp return to set up dest, also ensure no dir traversal CVE-2019-3828.
- In vmware_guest_network module use appropriate network while creating or reconfiguring (https://github.com/ansible/ansible/issues/65968).
- Log additional messages from persistent connection modules that may be missed if the module fails or returns early.
- `vmware_content_deploy_template`'s `cluster` argument no longer fails with an error message about resource pools.
- ansible command now correctly sends v2_playbook_on_start to callbacks
- ansible-galaxy - Error when install finds a tar with a file that will be extracted outside the collection install directory - CVE-2020-10691
- ansible-galaxy collection - Preserve executable bit on build and preserve mode on install from what tar member is set to - https://github.com/ansible/ansible/issues/68415
- dense callback - fix plugin access to its configuration variables and remove a warning message (https://github.com/ansible/ansible/issues/64628).
- display - Improve method of removing extra new line after warnings so it does not break Tower/Runner (https://github.com/ansible/ansible/pull/68517)
- docker connection plugin - do not prefix remote path if running on Windows containers.
- for those running uids for invalid users (containers), fallback to uid=<uid> when logging fixes #68007
- get_url pass incorrect If-Modified-Since header (https://github.com/ansible/ansible/issues/67417)
- mysql_user - Fix idempotence when long grant lists are used (https://github.com/ansible/ansible/issues/68044)
- os_user_role - Fix os_user_role issue to grant a role in a domain.
- ovirt_storage_domain: fix update_check for warning_low_space
- purefa_snmp - Fix error when deleting a manager and when creating a v2c manager (https://github.com/ansible/ansible/pull/68180)
- rabbitmq_policy - Fix version parsing for RabbitMQ 3.8.
- routeros_facts - Prevent crash of module when ``ipv6`` package is not installed
- setup.ps1 - Fix ``ansible_fqdn`` using the wrong values to build the actual DNS FQDN.
v2.9.6
======
Release Summary
---------------
| Release Date: 2020-03-04
| `Porting Guide <https://docs.ansible.com/ansible/devel/porting_guides.html>`__
Minor Changes
-------------
- Fix URL in postgresql_table documentation.
- Refator net_base action plugin to support collection with network platform agnostic modules.
- docker connection plugin - run Powershell modules on Windows containers.
- ovirt_disk: correct description of storage_domain, there is no default value of the attribute
- ovirt_vm: remove deprecated warning of Linux boot parameters
Bugfixes
--------
- Bump the minimum openstacksdk version to 0.18.0 when os_network uses the port_security_enabled or mtu arguments.
- Fix Python3 compatibility for vmware_export_ovf module.
- Fix a bug when a host was not removed from a play after ``meta: end_host`` and as a result the host was still present in ``ansible_play_hosts`` and ``ansible_play_batch`` variables.
- Fix collection install error that happened if a dependency specified dependencies to be null (https://github.com/ansible/ansible/issues/67574).
- Fix examples in eos_vlans (https://github.com/ansible/ansible/pull/66131).
- Templating - Ansible was caching results of Jinja2 expressions in some cases where these expressions could have dynamic results, like password generation (https://github.com/ansible/ansible/issues/34144).
- Update the warning message for ``CONDITIONAL_BARE_VARS`` to list the original conditional not the value of the original conditional (https://github.com/ansible/ansible/issues/67735)
- Use hostnamectl command to get current hostname for host while using systemd strategy (https://github.com/ansible/ansible/issues/59438).
- also strip spaces around config values in pathlist as we do in list types
- ansible-galaxy - Display proper error when invalid token is used for Galaxy servers
- ansible-galaxy - Fix issue when compared installed dependencies with a collection having no ``MANIFEST.json`` or an empty version string in the json
- ansible-galaxy - Fix up pagination searcher for collection versions on Automation Hub
- ansible-galaxy - Remove uneeded verbose messages when accessing local token file
- ansible-galaxy - Send SHA256 hashes when publishing a collection
- ansible-galaxy - properly list roles when the role name also happens to be in the role path (https://github.com/ansible/ansible/issues/67365)
- ansible-test validate-modules - Fix arg spec collector for PowerShell to find utils in both a collection and base.
- azure_rm_resourcegroup_facts - adds the ansible_facts as a sub map to fix the KeyError (https://github.com/ansible/ansible/issues/66727).
- docker_login - make sure that ``~/.docker/config.json`` is created with permissions ``0600``.
- ec2_asg - regression bug, when an existing autoscaling group was updated and but the launch config of existing instances was deleted.
- fix the bug where IOS vlans module throws traceback. (ref: https://github.com/ansible/ansible/pull/64633)
- fixes the eos_vlans repalced state behavior to configure the 'name' parameter(https://github.com/ansible/ansible/pull/67318)
- get_certificate - Fix cryptography backend when pyopenssl is unavailable (https://github.com/ansible/ansible/issues/67900)
- make ``no_log=False`` on a module option silence the ``no_log`` warning (https://github.com/ansible/ansible/issues/49465 https://github.com/ansible/ansible/issues/64656)
- mysql_db - fix bug in the ``db_import`` function introduced by https://github.com/ansible/ansible/pull/56721 (https://github.com/ansible/ansible/issues/65351).
- nxos_vlans - Allow nxos_l2_interfaces to append the allowed vlans list
- openssl_* modules - prevent crash on fingerprint determination in FIPS mode (https://github.com/ansible/ansible/issues/67213).
- ovirt_vm: correct keyError for iSCSI parameters
- ovirt_vm: correct numa nodes and update documentation
- plugins - Allow ensure_type to decrypt the value for string types (and implicit string types) when value is an inline vault.
- proxysql - fixed mysql dictcursor
- route53 - improve handling of octal encoded characters
- synchronize - allow data to be passed between two managed nodes when using the docker connection plugin (https://github.com/ansible/ansible/pull/65698)
- unixy - fixed duplicate log entries on loops
- vmware_host_firewall_manager - Fixed creating IP specific firewall rules with Python 2 (https://github.com/ansible/ansible/issues/67303)
- vultr - Fixed the issue retry max delay param was ignored.
- win_credential - Fix issue that errors when trying to add a ``name`` with wildcards.
- win_unzip - Fix support for paths with square brackets not being detected properly
v2.9.5
======
Release Summary
---------------
| Release Date: 2020-02-13
| `Porting Guide <https://docs.ansible.com/ansible/devel/porting_guides.html>`__
Minor Changes
-------------
- add one note to help ansible user to understand the requirements to (https://github.com/ansible/ansible/pull/65969)
- ovirt_disk: remove default value because the parameter is required when disk is attached to vm
- ovirt_vm add comunentaion about how to import ova
- powershell (shell plugin) - Fix `join_path` to support UNC paths (https://github.com/ansible/ansible/issues/66341)
Deprecated Features
-------------------
- aws_az_info (aws_az_facts) - Fixed deprecation warning so that it triggers when run as aws_az_facts. Bumped removal version to 2.14
Bugfixes
--------
- AnsibleModule.run_command() - set ``close_fds`` to ``False`` on Python 2 if ``pass_fds`` are passed to ``run_command()``. Since ``subprocess.Popen()`` on Python 2 does not have the ``pass_fds`` option, there is no way to exclude a specific list of file descriptors from being closed.
- Bump the minimum openstacksdk version to 0.29.0 when os_network uses the dns_domain argument
- Fix multiple issues with nxos_interfaces states (https://github.com/ansible/ansible/pull/63960/).
- Module arguments in suboptions which were marked as deprecated with ``removed_in_version`` did not result in a warning.
- Redact GitLab Project variables which might include sensetive information such as password, api_keys and other project related details.
- Working implementation for editing Cisco IOS macros(https://github.com/ansible/ansible/pull/55220)
- ansible-test - Use ``virtualenv`` versions before 20 on provisioned macOS instances to remain compatible with an older pip install.
- ansible-test now limits Jinja2 installs to version 2.10 and earlier on Python 2.6
- ansible-test windows coverage - Ensure coverage reports are UTF-8 encoded without a BOM
- display - remove extra new line after warnings (https://github.com/ansible/ansible/pull/65199)
- dnf - Fix idempotence of `state: installed` (https://github.com/ansible/ansible/issues/64963)
- docker_container - passing ``test: [NONE]`` now actually disables the image's healthcheck, as documented.
- docker_swarm_service - passing ``test: [NONE]`` now actually disables the image's healthcheck, as documented.
- file - change ``_diff_peek`` in argument spec to be the correct type, which is ``bool`` (https://github.com/ansible/ansible/issues/59433)
- galaxy - Fix an AttributeError on ansible-galaxy install with an empty requirements.yml (https://github.com/ansible/ansible/issues/66725).
- group - The group module was not correctly detecting whether a local group is existing or not with local set to yes if the same group exists in a non local group repository e.g. LDAP. (https://github.com/ansible/ansible/issues/58619)
- include_vars - fix stack trace when passing ``dirs`` in an ad-hoc command (https://github.com/ansible/ansible/issues/62633)
- ios_* - Fix bug where IPV6 was duplicated for replace state (https://github.com/ansible/ansible/pull/66654)
- ios_banner - Modified the regular expression check to be non greedy when multiple banners are present.
- jenkins_job module: xml config encoding bugfix on python3
- mysql_user - fix support privileges with underscore (https://github.com/ansible/ansible/issues/66974).
- mysql_variable - fix the module doesn't support variables name with dot (https://github.com/ansible/ansible/issues/54239).
- nxos_facts: Don't throw an error if faninfo is not reported.
- nxos_telemetry - Fix fact gathering for sensor-groups (https://github.com/ansible/ansible/pull/66439)
- openssl_publickey - fix a module crash caused when pyOpenSSL is not installed (https://github.com/ansible/ansible/issues/67035).
- ovirt - add suport for search with space
- ovirt_job: add job when job is already existing and is in state finished
- ovirt_network: add check to control when creating network
- pacman - fix module crash with ``IndexError: list index out of range`` (https://github.com/ansible/ansible/issues/63077)
- pamd - Bugfix for attribute error when removing the first or last line
- pmrun plugin - The success command string was no longer quoted. This caused unusual use-cases like ``become_flags=su - root -c`` to fail.
- podman connection plugin - fix to handle the new default copy pause rootless containers from upstream (https://github.com/ansible/ansible/issues/66263)
- pure - fix incorrect user_string setting in module_utils file (https://github.com/ansible/ansible/pull/66914)
- redhat_subscription - do not set the default quantity to ``1`` when no quantity is provided (https://github.com/ansible/ansible/issues/66478)
- synchronize - fix password authentication on Python 2 (https://github.com/ansible/ansible/issues/56629)
- systemd - don't require systemd to be running to enable/disable or mask/unmask units
- throttle: the linear strategy didn't always stuck with the throttle limit
- user - update module to support silencing ``no_log`` warnings in the future (see: https://github.com/ansible/ansible/pull/64733)
- wait_for_connection - with pipelining enabled, interpreter discovery would fail if the first connection attempt was not successful
v2.9.4
======

View File

@ -0,0 +1,2 @@
bugfixes:
- "jenkins_job module: xml config encoding bugfix on python3"

View File

@ -0,0 +1,2 @@
bugfixes:
- "Working implementation for editing Cisco IOS macros(https://github.com/ansible/ansible/pull/55220)"

View File

@ -0,0 +1,6 @@
bugfixes:
- synchronize - fix password authentication on Python 2 (https://github.com/ansible/ansible/issues/56629)
- >
AnsibleModule.run_command() - set ``close_fds`` to ``False`` on Python 2 if ``pass_fds`` are passed to
``run_command()``. Since ``subprocess.Popen()`` on Python 2 does not have the ``pass_fds`` option,
there is no way to exclude a specific list of file descriptors from being closed.

View File

@ -0,0 +1,2 @@
bugfixes:
- ec2_asg - regression bug, when an existing autoscaling group was updated and but the launch config of existing instances was deleted.

View File

@ -0,0 +1,2 @@
bugfixes:
- "ovirt - add suport for search with space"

View File

@ -0,0 +1,2 @@
bugfixes:
- Use hostnamectl command to get current hostname for host while using systemd strategy (https://github.com/ansible/ansible/issues/59438).

View File

@ -0,0 +1,5 @@
bugfixes:
- >
group - The group module was not correctly detecting whether a local
group is existing or not with local set to yes if the same group
exists in a non local group repository e.g. LDAP. (https://github.com/ansible/ansible/issues/58619)

View File

@ -0,0 +1,2 @@
bugfixes:
- Fix Python3 compatibility for vmware_export_ovf module.

View File

@ -0,0 +1,3 @@
---
bugfixes:
- route53 - improve handling of octal encoded characters

View File

@ -0,0 +1,3 @@
bugfixes:
- Bump the minimum openstacksdk version to 0.18.0 when os_network
uses the port_security_enabled or mtu arguments.

View File

@ -0,0 +1,3 @@
---
bugfixes:
- Fix multiple issues with nxos_interfaces states (https://github.com/ansible/ansible/pull/63960/).

View File

@ -0,0 +1,2 @@
bugfixes:
- Fix nxos_lacp replace operation (https://github.com/ansible/ansible/pull/64074).

View File

@ -0,0 +1,3 @@
bugfixes:
- Bump the minimum openstacksdk version to 0.29.0 when os_network
uses the dns_domain argument

View File

@ -0,0 +1,2 @@
bugfixes:
- dense callback - fix plugin access to its configuration variables and remove a warning message (https://github.com/ansible/ansible/issues/64628).

View File

@ -0,0 +1,2 @@
bugfixes:
- "fix the bug where IOS vlans module throws traceback. (ref: https://github.com/ansible/ansible/pull/64633)"

View File

@ -0,0 +1,2 @@
bugfixes:
- "make ``no_log=False`` on a module option silence the ``no_log`` warning (https://github.com/ansible/ansible/issues/49465 https://github.com/ansible/ansible/issues/64656)"

View File

@ -0,0 +1,4 @@
bugfixes:
- Fact Delegation - Add ability to indicate which facts must always be delegated. Primarily
for ``discovered_interpreter_python`` right now, but extensible later.
(https://github.com/ansible/ansible/issues/61002)

View File

@ -0,0 +1,3 @@
---
bugfixes:
- routeros_facts - Prevent crash of module when ``ipv6`` package is not installed

View File

@ -0,0 +1,2 @@
bugfixes:
- "dnf - Fix idempotence of `state: installed` (https://github.com/ansible/ansible/issues/64963)"

View File

@ -0,0 +1,2 @@
bugfixes:
- "throttle: the linear strategy didn't always stuck with the throttle limit"

View File

@ -0,0 +1,2 @@
bugfixes:
- synchronize - allow data to be passed between two managed nodes when using the docker connection plugin (https://github.com/ansible/ansible/pull/65698)

View File

@ -0,0 +1,2 @@
bugfixes:
- "`vmware_content_deploy_template`'s `cluster` argument no longer fails with an error message about resource pools."

View File

@ -0,0 +1,2 @@
bugfixes:
- "pacman - fix module crash with ``IndexError: list index out of range`` (https://github.com/ansible/ansible/issues/63077)"

View File

@ -0,0 +1,2 @@
bugfixes:
- In vmware_guest_network module use appropriate network while creating or reconfiguring (https://github.com/ansible/ansible/issues/65968).

View File

@ -0,0 +1,3 @@
---
minor_changes:
- add one note to help ansible user to understand the requirements to (https://github.com/ansible/ansible/pull/65969)

View File

@ -0,0 +1,2 @@
bugfixes:
- unixy - fixed duplicate log entries on loops

View File

@ -0,0 +1,3 @@
---
bugfixes:
- Fix examples in eos_vlans (https://github.com/ansible/ansible/pull/66131).

View File

@ -0,0 +1,2 @@
bugfixes:
- "user - update module to support silencing ``no_log`` warnings in the future (see: https://github.com/ansible/ansible/pull/64733)"

View File

@ -0,0 +1,2 @@
bugfixes:
- podman connection plugin - fix to handle the new default copy pause rootless containers from upstream (https://github.com/ansible/ansible/issues/66263)

View File

@ -0,0 +1,2 @@
bugfixes:
- ios_banner - Modified the regular expression check to be non greedy when multiple banners are present.

View File

@ -0,0 +1,2 @@
bugfixes:
- "pamd - Bugfix for attribute error when removing the first or last line"

View File

@ -0,0 +1,3 @@
---
bugfixes:
- nxos_telemetry - Fix fact gathering for sensor-groups (https://github.com/ansible/ansible/pull/66439)

View File

@ -0,0 +1,2 @@
bugfixes:
- "nxos_vlans - Allow nxos_l2_interfaces to append the allowed vlans list"

View File

@ -0,0 +1,2 @@
bugfixes:
- os_user_role - Fix os_user_role issue to grant a role in a domain.

View File

@ -0,0 +1,2 @@
minor_changes:
- Remove redundant encoding in json.load call in ipa module_utils (https://github.com/ansible/ansible/issues/66592).

View File

@ -0,0 +1,3 @@
bugfixes:
- "docker_container - passing ``test: [NONE]`` now actually disables the image's healthcheck, as documented."
- "docker_swarm_service - passing ``test: [NONE]`` now actually disables the image's healthcheck, as documented."

View File

@ -0,0 +1,2 @@
minor_changes:
- "powershell (shell plugin) - Fix `join_path` to support UNC paths (https://github.com/ansible/ansible/issues/66341)"

View File

@ -0,0 +1,2 @@
minor_changes:
- "ovirt_vm add comunentaion about how to import ova"

View File

@ -0,0 +1,2 @@
bugfixes:
- ios_* - Fix bug where IPV6 was duplicated for replace state (https://github.com/ansible/ansible/pull/66654)

View File

@ -0,0 +1,2 @@
bugfixes:
- galaxy - Fix an AttributeError on ansible-galaxy install with an empty requirements.yml (https://github.com/ansible/ansible/issues/66725).

View File

@ -0,0 +1,2 @@
bugfixes:
- mysql_variable - fix the module doesn't support variables name with dot (https://github.com/ansible/ansible/issues/54239).

View File

@ -0,0 +1,2 @@
bugfixes:
- redhat_subscription - do not set the default quantity to ``1`` when no quantity is provided (https://github.com/ansible/ansible/issues/66478)

View File

@ -0,0 +1,2 @@
bugfixes:
- "ovirt_job: add job when job is already existing and is in state finished"

View File

@ -0,0 +1,2 @@
bugfixes:
- "ovirt_network: add check to control when creating network"

View File

@ -0,0 +1,2 @@
bugfixes:
- "nxos_facts: Don't throw an error if faninfo is not reported."

View File

@ -0,0 +1,2 @@
bugfixes:
- pure - fix incorrect user_string setting in module_utils file (https://github.com/ansible/ansible/pull/66914)

View File

@ -0,0 +1,2 @@
bugfixes:
- "Module arguments in suboptions which were marked as deprecated with ``removed_in_version`` did not result in a warning."

View File

@ -0,0 +1,2 @@
bugfixes:
- mysql_user - fix support privileges with underscore (https://github.com/ansible/ansible/issues/66974).

View File

@ -0,0 +1,2 @@
bugfixes:
- "openssl_publickey - fix a module crash caused when pyOpenSSL is not installed (https://github.com/ansible/ansible/issues/67035)."

View File

@ -0,0 +1,2 @@
deprecated_features:
- 'aws_az_info (aws_az_facts) - Fixed deprecation warning so that it triggers when run as aws_az_facts. Bumped removal version to 2.14'

View File

@ -0,0 +1,2 @@
bugfixes:
- pmrun plugin - The success command string was no longer quoted. This caused unusual use-cases like ``become_flags=su - root -c`` to fail.

View File

@ -0,0 +1,3 @@
---
minor_changes:
- "ovirt_disk: remove default value because the parameter is required when disk is attached to vm"

View File

@ -0,0 +1,2 @@
bugfixes:
- vmware_host_firewall_manager - Fixed creating IP specific firewall rules with Python 2 (https://github.com/ansible/ansible/issues/67303)

View File

@ -0,0 +1,2 @@
bugfixes:
- fixes the eos_vlans repalced state behavior to configure the 'name' parameter(https://github.com/ansible/ansible/pull/67318)

View File

@ -0,0 +1,2 @@
bugfixes:
- proxysql - fixed mysql dictcursor

View File

@ -0,0 +1,2 @@
bugfixes:
- "docker_login - make sure that ``~/.docker/config.json`` is created with permissions ``0600``."

View File

@ -0,0 +1,2 @@
bugfixes:
- ansible-galaxy - properly list roles when the role name also happens to be in the role path (https://github.com/ansible/ansible/issues/67365)

View File

@ -0,0 +1,2 @@
bugfixes:
- get_url pass incorrect If-Modified-Since header (https://github.com/ansible/ansible/issues/67417)

View File

@ -0,0 +1,2 @@
bugfixes:
- "Templating - Ansible was caching results of Jinja2 expressions in some cases where these expressions could have dynamic results, like password generation (https://github.com/ansible/ansible/issues/34144)."

View File

@ -0,0 +1,2 @@
bugfixes:
- vultr - Fixed the issue retry max delay param was ignored.

View File

@ -0,0 +1,2 @@
minor_changes:
- "ovirt_disk: correct description of storage_domain, there is no default value of the attribute"

View File

@ -0,0 +1,2 @@
bugfixes:
- "ovirt_vm: correct keyError for iSCSI parameters"

View File

@ -0,0 +1,2 @@
bugfixes:
- azure_rm_resourcegroup_facts - adds the ansible_facts as a sub map to fix the KeyError (https://github.com/ansible/ansible/issues/66727).

View File

@ -0,0 +1,2 @@
bugfixes:
- plugins - Allow ensure_type to decrypt the value for string types (and implicit string types) when value is an inline vault.

View File

@ -0,0 +1,2 @@
minor_changes:
- Fix URL in postgresql_table documentation.

View File

@ -0,0 +1,2 @@
bugfixes:
- "openssl_* modules - prevent crash on fingerprint determination in FIPS mode (https://github.com/ansible/ansible/issues/67213)."

View File

@ -0,0 +1,2 @@
bugfixes:
- Fix collection install error that happened if a dependency specified dependencies to be null (https://github.com/ansible/ansible/issues/67574).

View File

@ -0,0 +1,2 @@
bugfixes:
- "ovirt_vm: correct numa nodes and update documentation"

View File

@ -0,0 +1,3 @@
bugfixes:
- Update the warning message for ``CONDITIONAL_BARE_VARS`` to list the original conditional
not the value of the original conditional (https://github.com/ansible/ansible/issues/67735)

View File

@ -0,0 +1,2 @@
bugfixes:
- mysql_db - fix bug in the ``db_import`` function introduced by https://github.com/ansible/ansible/pull/56721 (https://github.com/ansible/ansible/issues/65351).

View File

@ -0,0 +1,2 @@
minor_changes:
- docker connection plugin - run Powershell modules on Windows containers.

View File

@ -0,0 +1,2 @@
bugfixes:
- get_certificate - Fix cryptography backend when pyopenssl is unavailable (https://github.com/ansible/ansible/issues/67900)

View File

@ -0,0 +1,2 @@
minor_changes:
- "ovirt_vm: remove deprecated warning of Linux boot parameters"

View File

@ -0,0 +1,2 @@
bugfixes:
- "mysql_user - Fix idempotence when long grant lists are used (https://github.com/ansible/ansible/issues/68044)"

View File

@ -0,0 +1,2 @@
minor_changes:
- vmware_cluster - Document alternatives for deprecated parameters

View File

@ -0,0 +1,2 @@
bugfixes:
- purefa_snmp - Fix error when deleting a manager and when creating a v2c manager (https://github.com/ansible/ansible/pull/68180)

View File

@ -0,0 +1,3 @@
bugfixes:
- Log additional messages from persistent connection modules that may be
missed if the module fails or returns early.

View File

@ -0,0 +1,2 @@
bugfixes:
- "ovirt_storage_domain: fix update_check for warning_low_space"

View File

@ -0,0 +1,3 @@
bugfixes:
- Alter task_executor's start_connection to support newer modules from
collections which expect to send task UUID.

View File

@ -0,0 +1,2 @@
bugfixes:
- Ensure we don't allow ansible_facts subkey of ansible_facts to override top level, also fix 'deprefixing' to prevent key transforms.

View File

@ -0,0 +1,2 @@
bugfixes:
- ansible command now correctly sends v2_playbook_on_start to callbacks

View File

@ -0,0 +1,5 @@
bugfixes:
- ansible-galaxy - Remove uneeded verbose messages when accessing local token file
- ansible-galaxy - Display proper error when invalid token is used for Galaxy servers
- ansible-galaxy - Send SHA256 hashes when publishing a collection
- ansible-galaxy - Fix up pagination searcher for collection versions on Automation Hub

View File

@ -0,0 +1,2 @@
bugfixes:
- ansible-test - Use ``virtualenv`` versions before 20 on provisioned macOS instances to remain compatible with an older pip install.

View File

@ -0,0 +1,2 @@
bugfixes:
- ansible-test now limits Jinja2 installs to version 2.10 and earlier on Python 2.6

View File

@ -0,0 +1,2 @@
minor_changes:
- ansible-test - Upgrade OpenSUSE containers to use Leap 15.1.

View File

@ -0,0 +1,2 @@
minor_changes:
- ansible-test now supports testing against RHEL 7.8 when using the ``--remote`` option.

View File

@ -0,0 +1,2 @@
bugfixes:
- ansible-galaxy collection - Preserve executable bit on build and preserve mode on install from what tar member is set to - https://github.com/ansible/ansible/issues/68415

View File

@ -0,0 +1,2 @@
bugfixes:
- docker connection plugin - do not prefix remote path if running on Windows containers.

View File

@ -0,0 +1,2 @@
bugfixes:
- "Fix a bug when a host was not removed from a play after ``meta: end_host`` and as a result the host was still present in ``ansible_play_hosts`` and ``ansible_play_batch`` variables."

View File

@ -0,0 +1,2 @@
bugfixes:
- 'for those running uids for invalid users (containers), fallback to uid=<uid> when logging fixes #68007'

View File

@ -0,0 +1,2 @@
bugfixes:
- In fetch action, avoid using slurp return to set up dest, also ensure no dir traversal CVE-2019-3828.

View File

@ -0,0 +1,2 @@
bugfixes:
- file - change ``_diff_peek`` in argument spec to be the correct type, which is ``bool`` (https://github.com/ansible/ansible/issues/59433)

View File

@ -0,0 +1,2 @@
bugfixes:
- ansible-galaxy - Fix issue when compared installed dependencies with a collection having no ``MANIFEST.json`` or an empty version string in the json

View File

@ -0,0 +1,2 @@
bugfixes:
- ansible-galaxy - Error when install finds a tar with a file that will be extracted outside the collection install directory - CVE-2020-10691

View File

@ -0,0 +1,2 @@
bugfixes:
- Redact GitLab Project variables which might include sensetive information such as password, api_keys and other project related details.

View File

@ -0,0 +1,2 @@
bugfixes:
- include_vars - fix stack trace when passing ``dirs`` in an ad-hoc command (https://github.com/ansible/ansible/issues/62633)

View File

@ -0,0 +1,8 @@
removed_features:
- "ldap_attr, ldap_entry - The ``params`` option has been removed in
Ansible-2.10 as it circumvents Ansible's option handling. Setting
``bind_pw`` with the ``params`` option was disallowed in Ansible-2.7, 2.8,
and 2.9 as it was insecure. For information about this policy, see the
discussion at:
https://meetbot.fedoraproject.org/ansible-meeting/2017-09-28/ansible_dev_meeting.2017-09-28-15.00.log.html
This fixes CVE-2020-1746"

View File

@ -0,0 +1,2 @@
minor_changes:
- Refator net_base action plugin to support collection with network platform agnostic modules.

Some files were not shown because too many files have changed in this diff Show More