Commit graph

44981 commits

Author SHA1 Message Date
Sloane Hertel
b77abd0491 Warn when transforming constructed groups (#60912)
* Warn when transforming constructed groups

The `keyed_groups` field has used sanitization since 2.6, but `groups` only started doing so in 2.8.
This adds a warning for the change in behavior.

* changelog

(cherry picked from commit 3247626ac7)
2019-09-03 11:15:23 -07:00
Sam Doran
0bc1285987 [stable-2.8] fixes issue with recieve parameter idempotency (#59999) (#60541)
* [stable-2.8] fixes issue with recieve parameter idempotency (#59999)

fixes assert statements in unit tests
(cherry picked from commit c9a9621a02)

Co-authored-by: Wojciech Wypior <w.wypior@f5.com>

* Add changelog
2019-09-03 10:44:21 -07:00
Gonéri Le Bouder
e352e7223e Update Fedora 29 test image
(cherry picked from commit 3d78dad84b)
2019-09-03 09:55:04 -07:00
Andrey Klychkov
1e9eebdc93 Backport of 61538: postgresql modules: explicit defaults for bool params (#61677) 2019-09-03 11:38:50 -05:00
Matt Martz
db9744d29e [stable-2.8] Add porting guide entry for gathering facts tag change (#61180) (#61555)
* Add porting guide entry for gathering facts tag change

(cherry picked from commit 0175620)

Co-authored-by: Matt Martz <matt@sivel.net>
2019-09-03 11:36:58 -05:00
Simeon Filipov
813b32856a Fix typo in postgresql_privs.py (#61365) (#61427)
Change 'default_prives' to 'default_privs'

(cherry picked from commit 0074fa5672)
2019-08-28 10:53:45 -05:00
Swartz, Nathan
6fc1f3ab1c Add changelog fragment for backporting PR #57096 to stable-2.8 branch 2019-08-27 14:04:10 -07:00
Swartz, Nathan
3cbe15aae9 Add thin-volumes to the netapp_e_lun_mapping update_mapping_info method. 2019-08-27 14:04:10 -07:00
Swartz, Nathan
71ec1d0b17 Fix netapp_e_host module bug when lun=0 2019-08-27 14:04:10 -07:00
Swartz, Nathan
74717f1ac2 Fix hosts with same lun number conflict in netapp_e_lun_mapping.
This patch fixes an issue of when multiple hosts are created and then
subsequently volume(s) are mapped to them using the same specified number.
2019-08-27 14:04:10 -07:00
Felix Fontein
a389e9e4bf docker_image_info: improve docs (#60622) (#60885)
* Improve return value documentation and example, fix typo in lib/ansible/modules/cloud/docker/docker_image_info.py

(cherry picked from commit 7a9e865a23)
2019-08-22 09:39:59 -05:00
Andrey Klychkov
6af9aef659 Bugfix of issue 60707: add python-apt package to requirements of package_facts module (#60999) (#61101)
* Issue 60707: add python-apt package to requirements of package_facts module, fix formatting, change fail msg

(cherry picked from commit cf291f272d)
2019-08-22 09:38:29 -05:00
Andrey Klychkov
826523559d Fix mispelling in postgresql_query docs (#60648) (#60670)
Changed `arbitraty` to `arbitrary` in postgresql_query docs
(cherry picked from commit 06d1705752)
2019-08-16 09:32:22 -05:00
Toshio Kuratomi
e99b08a0ad Update Ansible release version to v2.8.4.post0. 2019-08-15 19:56:25 -07:00
Toshio Kuratomi
c4902421d9 New release v2.8.4 2019-08-15 14:07:35 -07:00
Sam Doran
49935b1e95 [stable-2.8] Fix sanity tests based on newer version of shellcheck (#60423) (#60442)
* [stable-2.8] Fix sanity tests based on newer version of shellcheck (#60423)

- change egrep to grep -E
- store exit codes and check them directly
- ignore SC1091.
(cherry picked from commit c485a1b91e)

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

* Fix sanity test
2019-08-13 10:31:03 -07:00
Martin Nečas
768e515a3e Ovirt host update force docs backport (#60475)
* add changelog

* Ovirt host update force docs (#60202)

* update docs

* update pep8 syntax

* update pep8 syntax
2019-08-13 10:29:41 -07:00
yanzhangi
beb108e887 Update ce_acl_advance modified information 2019-08-12 18:38:01 -07:00
Gonéri Le Bouder
51a849c89f vmware_datastore_facts: don't modify dict in iter
With Python3, we cannot iterate on a dict and modify it at the same time.

Fixes #54869

(cherry picked from commit 339a0f4a8c)
2019-08-12 18:33:22 -07:00
Jordan Borean
d112106985 Move windows test to another group (#60391)
(cherry picked from commit 35b87b8633)
2019-08-12 18:29:29 -07:00
Maxim Babushkin
282ab4cb72 openssh_keypair - Add public key and key comment validation (#57993)
- Split the key validation to separate private and public.
- In case public key does not exist, recreate it.
- Validate comment of the key.
- In case comment changed, update the private and public keys.

(cherry picked from commit 27e414200f)
2019-08-12 18:29:03 -07:00
Shachaf92
4bac987591 Backport/2.8/58943 - win_domain_group_membership extar_vars forests env fix 2019-08-12 18:26:26 -07:00
yanzhangi
d350269da1 update ce_acl to fix bugs (#60357)
* update ce_acl to fix bugs (#60274)

(cherry picked from commit 66c3e9bb9b)

* Update ce_acl modified information
2019-08-12 18:23:52 -07:00
yanzhangi
34d3a80fb5 update ce_aaa_server_host to fix bugs (#60356)
* update ce_aaa_server_host to fix bugs (#60272)

(cherry picked from commit 9aabe70452)

* Update ce_aaa_server_host modified information
2019-08-12 18:23:23 -07:00
yanzhangi
f4aaf4d148 update ce_aaa_server to fix bugs (#60355)
* update ce_aaa_server to fix bugs (#60270)

* update ce_aaa_server to fix bugs

* update ce_aaa_server to fix bugs

(cherry picked from commit c2e7683926)

* Update ce_aaa_server modified information
2019-08-12 18:22:02 -07:00
Sam Doran
b51fdab9ea [stable-2.8] Fix unit tests to work with pytest >= 5.0 (#60246) (#60332)
pytest made a change in the way the message from ExceptionInfo objects was returned.

https://docs.pytest.org/en/latest/changelog.html#pytest-5-0-0-2019-06-28.
(cherry picked from commit 2d266fbc87)

Co-authored-by: Sam Doran <sdoran@redhat.com>
2019-08-12 18:12:28 -07:00
Felix Fontein
5f15cc409e Improve docker_compose module documentation (#60064) (#60347)
* Improve docker_compose module documentation
* Mentions of files (docker-compose.yml) are now rendered correctly.
* Compose files are now called just that.
* Further clarify options "services", "stopped" and "restarted"
* Update lib/ansible/modules/cloud/docker/docker_compose.py

Co-Authored-By: Felix Fontein <felix@fontein.de>
(cherry picked from commit e9fc095123)
2019-08-12 10:48:02 -05:00
Felix Fontein
9bfdb0aec5 fix spelling: certifivate -> certificate (#60369) (#60373)
docs spelling fix

(cherry picked from commit a3d55a5ddb)
2019-08-12 10:45:58 -05:00
Toshio Kuratomi
490f17c7f9 Improve performane of UnsafeProxy __new__
This adds an early return to the __new__ method of the UnsafeProxy object
which avoids creating the unsafe object if the incoming object is already
unsafe.

(cherry picked from commit c1e23c22a9)
2019-08-09 14:46:14 -07:00
Sam Doran
a6eec912c7 [stable-2.8] Pin openshift <=0.9.0 to prevent test failures (#60245)
(cherry picked from commit 9cb47832d1)

Co-authored-by: Sam Doran <sdoran@redhat.com>
2019-08-09 14:40:41 -07:00
Sam Doran
fa0cd3782f [stable-2.8] Move assertion in unit test inside loop (#60232)
(cherry picked from commit aa717661af)

Co-authored-by: Sam Doran <sdoran@redhat.com>
2019-08-09 14:40:07 -07:00
Yaakov Selkowitz
5d3f0fe02c facts: fix double-counting of CPUs on POWER systems (#58360)
On POWER systems, /proc/cpuinfo provides a 'processor' entry as a
counter, and a 'cpu' entry with a description (similar to 'model name'
on x86). Support for POWER in get_cpu_facts was added via the 'cpu'
entry in commit 8746e692c1.  Subsequent
support for ARM64 in commit ce4ada93f9
used the 'processor' entry, resulting in double-counting of cores on
POWER systems.

When unit tests were later written for this code in
commit 55306906cf, the erroneous values
were just accepted in the test instead of being diagnosed.

Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
(cherry picked from commit 93d9d64038)
2019-08-09 14:20:32 -07:00
Manu Lange
8e56708e22 prevent recursive logging csharp stackoverflow. (#59503)
* prevent recursive logging situation.

* Add changelog

(cherry picked from commit 6a5cd9a820)
2019-08-09 14:12:22 -07:00
Jordan Borean
a0afc2d656 Move win target back a group (#60257)
(cherry picked from commit 534a40c5cd)
2019-08-09 14:11:24 -07:00
Jordan Borean
bc06946581 Added group 7 to Windows groups - ci_complete (#60240)
(cherry picked from commit 81cb6f366a)
2019-08-09 14:11:24 -07:00
Jordan Borean
c2abfd8c4d Remove Python 2.6 from Windows tests (#60235)
(cherry picked from commit 3a3727d200)
2019-08-09 14:10:35 -07:00
silverwizard
1eb11edb14 Removed breaking type check from nagios module (#49568)
* Removed extraneous type check from nagios module, in order to allow python 3.x

* Removed now useless import types

* Added changelog fragment

* Update changelog.

* Rebased and removed check due to module adding earlier guardrails

* Updated changelog to mention earlier fix adding now completely removed guardrails

* Remove superfluous type checks. Fix docs type.

* Update ignore.txt.

(cherry picked from commit 5d8302120b)
2019-08-09 14:09:53 -07:00
Jill R
08e23a2a93 Don't truncate cidr_ipv6 addresses in ec2_group.py (#59106)
* Better cidr_ipv6 validation in ec2_group.py

* Improve warning/error handling, add changelog

* Update unit test for ipv6 validation

* Fix logic that was causing non /128 cidrs with host bits to not be handled

(cherry picked from commit 4308b87d72)
2019-08-09 14:02:42 -07:00
Martin Nečas
b4b76c924c Ovirt vnic profile fix backport (#60198)
* update vnic profile docs

* vnic profile fix

* merge updates

* add changelog
2019-08-09 14:00:52 -07:00
Toshio Kuratomi
0bcfb05bad Fix changelog entry for playbook_dir fix
The final version of the fix makes the addition in two places instead of
moving the single addition from one place to another

(cherry picked from commit 84e3c0ef1d)
2019-08-09 13:51:14 -07:00
Matt Martz
f44eb33000 [stable-2.8] Move plugin loader playbook dir additions back to Playbook instead of PlaybookCLI (#59557)
* Move plugin loader playbook dir additions back to Playbook instead of PlaybookCLI. Fixes #59548

* Restore cli additions
(cherry picked from commit 923e218)

Co-authored-by: Matt Martz <matt@sivel.net>
2019-08-09 13:51:14 -07:00
Toshio Kuratomi
3b987ae53d Add CVE number to changelog 2019-08-09 13:50:35 -07:00
Alex Stephen
5004e9adcd too many docs changes 2019-08-09 13:50:35 -07:00
Alex Stephen
b0e2d90dcf cherrypick 2019-08-09 13:50:35 -07:00
Alex Stephen
2d14c0ce70 no logging for service account contents (#60149)
* no logging for service account contents

* changelog

* fixes
2019-08-09 13:50:35 -07:00
Jordan Borean
a02c5c4683 win_user - use proper error code when failing to validate creds (#60181)
(cherry picked from commit 45d0e5994a)
2019-08-09 13:24:07 -07:00
Xu Yuandong
d497d5865b Backport/2.8/60075 ce_rollback: set mmi-mode enable to run commands and unset after running. (#60075) (#60084)
* set mmi-mode enable to run commands nad unset after running. (#60075)


(cherry picked from commit 16e237e095)

* add a changelog fragment.
2019-08-09 11:44:52 -07:00
James Cassell
56639d0f68 TRANSFORM_INVALID_GROUP_CHARS: document "ignore" option (#57318) (#60289)
Co-Authored-By: Alicia Cozine <879121+acozine@users.noreply.github.com>
(cherry picked from commit c954c07271)
2019-08-09 10:59:09 -05:00
Xu Yuandong
4e94423e41 Backport/2.8/60071 ce_config : It is necessary to undo mmi-mode enable after running commands. (#60071) (#60085)
* It is necessary to undo mmi-mode enable after running commands. (#60071)


(cherry picked from commit 13c8f7b00c)

* add a changelog fragment.
2019-08-07 21:57:55 -07:00
Andrey Klychkov
81a5183428 Backport/2.8/60105: turn off the default db warning where it doesn't make sense (#60107)
* Bugfix 60043: turn off the default db warning where it doesn't make sense (#60105)

(cherry picked from commit d2cc9f5f06)

* Backport of 60105: turn off the default db warning where it doesn't make sense
2019-08-07 13:58:37 -07:00