Commit graph

44794 commits

Author SHA1 Message Date
YuandongXu
db5ceb2390 Backport/2.8/58200 ce_bfd_global: update to fix a bug. (#58200) (#58555)
* update to fix a bug. (#58200)


(cherry picked from commit 875e7c3e50)

* add a changlog fragment to PR 58200.

* Update 58200-update-ce_bfd_global-to-fix-a-bug.yml
2019-07-08 18:00:21 -07:00
YuandongXu
b53ed66d78 backport/2.8/57916 ce_vrrp: update ce_vrrp to fix a bug (#57916) (#58554)
* update vrrp (#57916)


(cherry picked from commit 442d275ae3)

* add a changelog fragment to PR 58554.

* Update 58554-update-ce_vrrp-to-fix-a-bug.yml
2019-07-08 17:58:19 -07:00
YuandongXu
c66ee98d23 update ce_interface to fix bugs (#57907)
* update ce_interface

* update ce_interface

* add a changelog fragment.

(cherry picked from commit e02353026d)
2019-07-08 17:57:34 -07:00
Abhijeet Kasurde
15529abbed [2.8] VMware: Warn user about dvswitch permissions (#58758)
Warn user that permissions for a distributed switch must be defined and managed on either
the datacenter or a folder containing the switch.

(cherry picked from commit 5e2471485a)

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2019-07-08 15:32:08 -05:00
Toshio Kuratomi
2c6c631a38 [stable-2.8] Fix unicode error in changelog generation
(cherry picked from commit fed90ef)

Co-authored-by: Toshio Kuratomi <a.badger@gmail.com>
2019-07-05 11:47:27 -07:00
Sandra McCann
3d9c2e8c23 Add a banner message to warn when not on latest documentation (#58526) (#58762)
* add banner to versions that are not latest

(cherry picked from commit 35b6345bdc)
2019-07-05 09:35:39 -05:00
Toshio Kuratomi
8321cfb2a4 Update Ansible release version to v2.8.2.post0. 2019-07-03 13:41:29 -07:00
Toshio Kuratomi
3affc30abe New release v2.8.2 2019-07-03 10:36:36 -07:00
Toshio Kuratomi
6db2c66835 Revert "[stable-2.8] hostname - fix Oracle Linux (#58510)"
This reverts commit dd304b4811.

Only affects 2.9+ as it is introduced by bundling a new version of
distro
2019-07-02 23:59:48 -07:00
Sam Doran
6e7fcf38a8 [stable-2.8] Get minor version number for CentOS and Debian (#57814) (#58538)
* [stable-2.8] Get minor version number for CentOS and Debian (#57814)

* Get the most detailed version number from distro.version() for CentOS and Debian
* Update tests and fixtures
* Update fixture generation script to gather distro info and work with Python 3
* Update LinuxMint fixtures
* Cleanup fixture formatting
* Improvements based on feedback from abadger:
    - use unicode since that is what distro returns
    - use frozenset with a tuple
    - include link Debian to bug
(cherry picked from commit ab6a9ef130)

Co-authored-by: Sam Doran <sdoran@redhat.com>

* Add a changelog for the version number in facts change
2019-06-30 16:59:38 -07:00
René Moser
a553474ca8 [2.8] purefa_user: Fix Incorrect parameter used causing crashes. (#57588) (#58544)
* purefa_user: Fix Incorrect parameter used causing crashes. (#57588)


(cherry picked from commit 35dcd231be)

* purefa_user: add previous return as an alias

Avoid breaking user's playbooks in minor releases

* update changelog
2019-06-29 12:58:50 -07:00
Toshio Kuratomi
83c04bdec5 [stable-2.8] Skip tests with unsatisfied deps (#55853)
* Skip gitlab tests if dependencies aren't met

* Skip certain unittests if passlib is not installed

* Fix tests with deps on paramiko to skip if paramiko is not installed

* Use pytest to skip for cloudstack

If either on Python-2.6 or the cs library is not installed we cannot run
this test so skip it
(cherry picked from commit 8acf71f)

Co-authored-by: Toshio Kuratomi <a.badger@gmail.com>
2019-06-29 11:31:58 -07:00
YuandongXu
7a56e1be46 update acl interface. (#57905)
* update acl interface.

* update ce_interface

* update

* add a changelog fragment.

* update

(cherry picked from commit da72644317)
2019-06-29 11:30:37 -07:00
YuandongXu
959c07fc5c ce_snmp_location: fix for out of array index. (#57903)
(cherry picked from commit afe7cd3fda)
2019-06-29 11:29:40 -07:00
YuandongXu
aee18ffc27 ce_snmp_target_host: update to fix bug: None has no 'lower()' function. (#57904)
* update to fix bug: None has not 'lower()' function.

* add a changelog fragment.

* update changlog fragment.

* Update 57904-ce_snmp_target_host.yml

(cherry picked from commit 78c8ee9261)
2019-06-29 11:28:59 -07:00
xuxiaowei0512
2d1791cdae rm redundant log changelog fragment. 2019-06-29 11:28:18 -07:00
xuxiaowei0512
0aa55a40b5 add changelog fragment. 2019-06-29 11:28:18 -07:00
YuandongXu
fc5eba72bb ce_bgp: update bgp to fix bugs (#57317)
* update bgp to fix bgus

* add a changelog fragment for bgp

(cherry picked from commit 36cfa9e931)
2019-06-29 11:28:18 -07:00
Nabeel Al-Saber
480b47d3b2 Add Oracle scenario guide (#58443)
* Create and update docs/docsite/rst/scenario_guides/guide_oracle.rst
2019-06-29 11:14:42 -07:00
Sloane Hertel
c67980e07b Handle vaulted non-ascii characters for Python2 (#58503)
* Handle vaulted non-ascii characters for Python2

* Add a test to ensure str() no longer raises UnicodeEncodeError

(cherry picked from commit 826f224f02)
2019-06-29 11:13:55 -07:00
Sam Doran
7700c5086d [stable-2.8] Use atexit to cleanup tmp dirs (#56532)
* Wrap everything in try/except to avoid leaving files behind
* Add unit tests, integration tests, and changelog
* Do text the correct way.
(cherry picked from commit 6cf6f5a34b)

Co-authored-by: Sam Doran <sdoran@redhat.com>
2019-06-29 11:13:28 -07:00
Sam Doran
dd304b4811 [stable-2.8] hostname - fix Oracle Linux (#58510)
(cherry picked from commit 1a5ae366f4)

Co-authored-by: Sam Doran <sdoran@redhat.com>
2019-06-28 10:00:12 -07:00
Sloane Hertel
cb70656c99 Fix notifying handlers by using an exact match (#55624)
* Fix notifying handlers by using an exact match rather than a string subset if listen is text rather than a list

* Enforce better type checking for listeners

* Share code for validating handler listeners

* Add test for handlers without names

* Add test for templating in handlers

* Add test for include_role

* Add a couple notes about 'listen' for handlers

* changelog

(cherry picked from commit ec1287ca7e)
2019-06-28 09:22:39 -07:00
Sam Doran
8cc128b8f5 [stable-2.8] podman_image_info - Do not fail when nonexistant image name is provided (#57962)
* Account for older versions of Podman lacking 'exists'
(cherry picked from commit 9ba7015458)

Co-authored-by: Sam Doran <sdoran@redhat.com>
2019-06-28 09:16:24 -07:00
Strahinja Kustudic
ab97f58764 Fix version_added for gcp_compute
(cherry picked from commit 16610fa399)
2019-06-28 08:03:04 -07:00
Felix Fontein
b13a5d32c2 the env argument for docker_container wants a dict, not a list (#58475) (#58486)
(cherry picked from commit 3ec4739cc7)
2019-06-28 08:54:27 -05:00
Sam Doran
bbbacebf01 [stable-2.8] Make nuage_vspk test more reliable
- don't background the nuage-vsd-sim
- increase the asncy timeout
- use uri to actually query the simulator API to make sure it is ready for connections
(cherry picked from commit 911a2ec6d3)

Co-authored-by: Sam Doran <sdoran@redhat.com>
2019-06-26 14:47:11 -07:00
Alicia Cozine
af1ca7bfcb
Datadog_monitor: Fix docs with datatypes of params (#58371) (#58404)
Fixes: #58342

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>

(cherry picked from commit bc3c90f2f1)
2019-06-26 11:56:53 -05:00
Andrey Klychkov
a6ecc6c243 Backport 57507 postgresql_pg_hba bugfix (#58384)
* Merge authentication options back into a single field to prevent losing options beyond the first (#57507)

* Merge authentication options back into a single field to prevent losing options beyond the first

* Add integration test and changelog

* Fix multiple options for local type connections. Also fix sorting errors between local type connections that lack a src

* Build again because of github problems?

* Add spaces before comments

(cherry picked from commit 5cc6486a2b)
2019-06-26 08:32:46 -07:00
Strahinja Kustudic
084283233a Set correct version and update changelog fragment 2019-06-26 06:35:42 -07:00
Strahinja Kustudic
2ff60747b4 Add service_account_contents parameter to allign with the modules (#57848)
(cherry picked from commit 7fd10d821c)
2019-06-26 06:35:42 -07:00
Andrey Klychkov
4624f8af13 Backport PR for 58315 2019-06-25 15:13:19 -07:00
Andrey Klychkov
b2cbbaed26 postgresql_membership: remove debug print (#58315)
(cherry picked from commit cf528c562a)
2019-06-25 15:13:19 -07:00
Matt Martz
fd73fe02b4 [stable-2.8] Set _ansible_verbose_override in gather_facts action plugin. Fixes #58310 (#58339)
(cherry picked from commit bc25ac2)

Co-authored-by: Matt Martz <matt@sivel.net>
2019-06-25 15:12:49 -07:00
markafarrell
9406fbe4a2 [stable-2.8] also allow None Type for safe eval (#58269)
(cherry picked from commit 8555b72)

Co-authored-by: markafarrell <mark.andrew.farrell@gmail.com>
2019-06-25 08:08:10 -07:00
Tobias
95c2763f40 [2.8] ipaddr: Handle ipaddress index in network correctly
* This commit prevents integer indices from being parsed as ip nets
* ipaddr: unit tests for empty string

Fixes #57895

Signed-off-by: Tobias Schramm <tobleminer@gmail.com>
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
(cherry picked from commit e7c39460ed)
2019-06-24 19:35:27 -07:00
Felix Fontein
b75ff85e9c Use newer test container.
(cherry picked from commit b78d23d4ad)
2019-06-24 15:44:17 -07:00
Andrey Klychkov
8f97d6da8b Backport PR of 57391 postgresql_table - fix conflicts 2019-06-24 15:18:25 -07:00
Andrey Klychkov
5ebc83bce6 Backport PR of 57391 postgresql_table - bugfix of schema handling 2019-06-24 15:18:25 -07:00
Felix Fontein
5e177d73a9 openssl_certificate: fix failing SAN comparisons (#58256)
* Fix failing SAN comparison for older cryptography versions due to not implemented __hashh__ functions.

* Fix SAN comparison: IPv6 addresses need to be normalized before comparing strings.

* Add changelog.

* Fix comment.

(cherry picked from commit 75ca8eb42f)
2019-06-24 15:17:41 -07:00
lolcube
5d3eebb610 openssh_keypair: bugfix make regenerating keypairs via force possible… (#57801)
* openssh_keypair: bugfix make regenerating keypairs via force possible / add invalid file handling

* openssh_keypair: change permissions of read-only file instead of deleting it for regeneration; add changelog fragment

* address review feedbak, refactor

* add integration tests for bigfixes

* linter: fix indent

* fixup integration tests: use force when regenerating an invalid file

* linter: fix indent

* openssh_keypair: address review feedback

* openssh_keypair: fixup, remove backtick

* openssh_keypair: address review feedback

* Only pass 'y' into stdin of ssh-keygen when file exists.

(cherry picked from commit 547a29805e)
2019-06-24 15:17:08 -07:00
Andrey Klychkov
7a9fe9ea7b postgresql_privs: bugfix of 27327 - incorrect views handling (#58272)
(cherry picked from commit 278c59b17e)
2019-06-24 15:16:07 -07:00
Felix Fontein
7c22c81c5c Adjust tests to new error messages for older docker-py versions. (#58253)
(cherry picked from commit 66a4000058)
2019-06-24 15:13:30 -07:00
Felix Fontein
b7cc98e86e docker_* modules: improve error message when docker-py is missing (#57914)
* Improve error for docker modules when docker-py can't be imported.

* Add changelog.

* Mention platform and Python interpreter in more cases.

* Clarify wording.

* Adjust tests.

(cherry picked from commit 4a12be31fb)
2019-06-24 15:13:30 -07:00
Klaus Frank
e7356957ee Fix ansible-vault cipher_whitelist (#57272)
* Fix ansible-vault cipher_whitelist Fixes: #57271

* Add changelog for #57272
2019-06-24 15:13:10 -07:00
Felix Fontein
f4ff3ade1f Remove from sanity ignores. (#57911)
(cherry picked from commit 808cf4aa26)
2019-06-24 15:10:26 -07:00
ndclt
6e2bcc3d8e Coherence between example and text (use of to_native) (#58279) (#58283)
(cherry picked from commit 4376e88849)
2019-06-24 11:57:00 -05:00
Mariusz Mazur
d9155944cf Backport/2.8/57685 (#57794)
* kubevirt: enable/update tests + fix merge_dicts() (#57685)

* Actually run the unit tests and separate them into two files

* Re-add recursion to merge_dicts()

* Update tests to work with current code

(cherry picked from commit 51add5aa79)

* Changelog fragment

* Replace nested function with dict_transformations.dict_merge
2019-06-24 09:26:42 -07:00
Sam Doran
2cc8f3afb7 [stable-2.8] hostname - Correct distribution for various Linux distros based on output from distro library (#56936)
* Adjust hostname classes based on output from distro

Corrects the following:
- OpenSUSE Leap
- ArchARM
- Oracle Linux

* Add CoreOS and Clear Linux distributions
(cherry picked from commit bd55617a5b)

Co-authored-by: Sam Doran <sdoran@redhat.com>
2019-06-21 15:40:22 -07:00
Sam Doran
6bd8e3d002 [stable-2.8] Add Fedora 30 to test matrix (#57713)
Remove Fedora 28 from test matrix
(cherry picked from commit 7b9d991f78)

Co-authored-by: Sam Doran <sdoran@redhat.com>
2019-06-21 15:39:18 -07:00