Commit Graph

47852 Commits

Author SHA1 Message Date
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 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