summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* New release v2.8.3v2.8.3Toshio Kuratomi2019-07-254-1/+144
|
* [stable-2.8] Fix nightly rpm releaseToshio Kuratomi2019-07-241-2/+2
| | | | | | | | | | | | | The nightly rpm builds were using a timestamp from the last git commit in their Release field. Unfortunately, that was using author timestamp which is nonsequential. Change to using commit timestamp which is sequential. note that this still has a cornercase if the branch's history is ever rewritten. (cherry picked from commit 97edfcc) Co-authored-by: Toshio Kuratomi <a.badger@gmail.com>
* [stable-2.8] Re-enable docker_container tests (#59425)Felix Fontein2019-07-242-1/+1
| | | | | | | Mark dependent container's ipc_mode as shareable (cherry picked from commit 266d6e77a9) Co-authored-by: Felix Fontein <felix@fontein.de>
* [stable-2.8] Mark Docker tests unstable (#59408)Sam Doran2019-07-222-0/+2
| | | | | | | | | | | | * Mark Docker tests unstable - docker_swarm is unstable on RHEL 8 - docker_container is unstable on RHEL 7 * Disable docker_container test. (cherry picked from commit 67c69f3) Co-authored-by: Sam Doran <sdoran@redhat.com>
* Revert "Clear 'connection related' plugin vars for next loop iteration (#59024)"Toshio Kuratomi2019-07-222-16/+0
| | | | | | | | | | This reverts commit 5e7e9b57c08078ea54cf65cd233327778c06a5a8. This causes a new set of regressions from 2.8.2: https://github.com/ansible/ansible/pull/59284#issuecomment-514021543 So this issue won't be fixed in 2.8.3 but work towards a fix for 2.8.4 will continue.
* if users are None/empty, dont assume sameness (#58875)Brian Coca2019-07-222-3/+7
| | | | | | | | | (cherry picked from commit 4ef2545eb5d661566e06629015967c2d1b8924e3) also fix all cases of none remote/become users (#59397) some cases failed, when defaults were None on the plugins (cherry picked from commit 74ac229fa877572a036eac4b4bfe278f0cd3826f)
* Fix gather facts ignoring gather_subsets config (#59271)Brian Coca2019-07-222-1/+3
| | | | | | | | | | | * Fix gather facts ignoring gather_subsets config fixes #58728 * Update lib/ansible/playbook/play.py Co-Authored-By: Abhijeet Kasurde <akasurde@redhat.com> (cherry picked from commit 8a886a6bee30fbb29835558f939a585007eaec67)
* [2.8] VMware: Fix vmware_guest cloning bugNoe Gonzalez2019-07-224-2/+120
| | | | | | | | * fix vmware_guest cloning bug * added tests for resizing disks during clone (cherry picked from commit 3a5d13b0d761bb5ac5a83d14daa37848e72ec857) Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
* 2.8: Revert "Speed up VariableManager by preserving Templar state. (#45572)" ↵Martin Krizek2019-07-226-10/+36
| | | | | | | | | | | | | | | | (#59280) (#59373) * Revert "Speed up VariableManager by preserving Templar state. (#45572)" (#59280) This reverts commit 6069d09b9d7193a1896dfc2816e0e51833a53e6b. Fixes #57351 (cherry picked from commit b7868529ee595b07b0cee5729dd103ef8f021600) * Add changelog for #59280 (#59380) (cherry picked from commit d6b137600637b3e22557fead1a3cb2a6bce74036)
* Backport 59342, postgresql_schema: parameter ensure replaced by state (#59368)Andrey Klychkov2019-07-222-1/+3
| | | | | | | | | * parameter ensure replaced by state (#59342) corrected a typo at the absent-example. (cherry picked from commit 883cc665e3142ee106b61ae9a5752d0cafe558f8) * Backport 59342, postgresql_schema: parameter ensure replaced by state
* [2.8] Address regression causing bootproto=dhcp for manual IP addressesTyler Ramer2019-07-223-20/+22
| | | | | | | | | | | | | | | | | Commit b7724fdf857c9d57b50f94b6573f5ae2516547b5 appears to have caused a regression, where `ip4`, `gw4`, `ip6`, `gw6` were converted to `ipv4.address`, `ipv4.gateway` etc. This causes bootproto (or `ipv4.method`) to remain `dhcp`, as noted in https://github.com/ansible/ansible/issues/36615 This commit only reverts the key-value pairs to the original names, which is in line with both expectation (manual ip addr == no dhcp) and the language used in the playbook, which is, for example, "ip4" not "ipv4.address" Co-authored-by: Stuart Pollock <spollock@pivotal.io> Co-authored-by: Tyler Ramer <tramer@pivotal.io> (cherry picked from commit 8d0f2e5725c9f1d2fdeab080d0652bc3945d781d)
* ovirt vm when creating Nonetypefix (#59377)Martin Nečas2019-07-222-1/+6
| | | | | | | | | | * ovirt vm when creating Nonetypefix * update fix and add comment * add changelog * Update 59377-ovirt-vm-when-creating-fix.yml
* [stable-2.8] Omit -A and -G options in local mode since luseradd does not ↵Sam Doran2019-07-223-7/+56
| | | | | | | | | | | | | | | | | support these (#55401) (#58480) * [stable-2.8] Omit -A and -G options in local mode since luseradd does not support these (#55401) Add integration tests (cherry picked from commit 20ad120829) Co-authored-by: Sam Doran <sdoran@redhat.com> * User - make groups and append mutually exclusive with local (#59309) * Update intigration tests (cherry picked from commit 8edad83ae029d7838a6d6347576d2ddbcce12ad0)
* [2.8] VMware: Accept 0 as valid value for memory reservationAbhijeet Kasurde2019-07-224-2/+159
| | | | | | | | | | | | vmware_guest accepts 0MB as valid value for memory reservation in virtual machine hardware configuration. This fixes the regression introduced via 193f69064fb40a83e3e7d2112ef24868b45233b3. Fixes: #59190 Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com> (cherry picked from commit 1f49abb51c208ac5e713740561952b8411c0761b) Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
* Fix win_reg_stat for HKU hives (#59359)Jordan Borean2019-07-223-1/+16
| | | | (cherry picked from commit 2f2b10642388992d5b858989efcc0b69f83e22bf)
* Fix typo in import package name. (#59229)Felix Fontein2019-07-221-1/+1
| | | | (cherry picked from commit cdf0947df092fb9883a13bca13a120ff29cacfc5)
* disable s3_lifecycle tests (#59311)Sloane Hertel2019-07-221-0/+1
| | | | (cherry picked from commit 1d3f2c77642bcd4f0cef761bad7e30ebf9d33906)
* [stable-2.8] Handle situation where ansible_architecure may not be defined ↵Sam Doran2019-07-223-1/+19
| | | | | | | | when gathering facts (#55466) (cherry picked from commit f231f21669) Co-authored-by: Sam Doran <sdoran@redhat.com>
* Ovirt vnic profile docs backport (#59288)Martin Nečas2019-07-222-11/+2
| | | | | | | | * ovirt vnic profile update readme (#57298) removes second of two identical examples * add changelog
* Clear 'connection related' plugin vars for next loop iteration (#59024)Martin Krizek2019-07-222-0/+16
| | | | | | Fixes #58876 (cherry picked from commit a752e2a4670f3b87a570f03d9b2719f8412ad575)
* Win setup fix 2.8 (#59211)Jordan Borean2019-07-222-14/+22
| | | | | | | | | | | | | | | | * Wrap Get-MachineSid's body in a try/catch It's not critical information and there's been a number of issues over the years with trying to retrieve it. If an exception is thrown just return null. Fixes: #47813 (cherry picked from commit b8a41a90b8561033b1ee408184eae41226693d26) * add changelog (cherry picked from commit 277690bcc6d63abd0de70f3131ac96d92fbce4e4)
* [stable-2.8] Move integration tests to using RHEL 8.0 GA (#57772).Sam Doran2019-07-224-9/+6
| | | | | | (cherry picked from commit b9dafdbade2a95051f8bee1bbe2a1d7dcb0c40b2) Co-authored-by: Sam Doran <sdoran@redhat.com>
* Backport/2.8/59071 ce_file_copy : update ce_file_copy to fix a bug. (#59071) ↵Xu Yuandong2019-07-222-26/+49
| | | | | | | | | | | | | | | | (#59243) * ce_file_copy : update ce_file_copy to fix a bug. (#59071) * update ce_file_copy to fix a bug. * Update ce_file_copy.py * Update ce_file_copy.py (cherry picked from commit 7a0a21ea7aa0d69bc6eb89967da47df85dca6a8d) * add a changelog fragment to PR 59243.
* Correct a documentation of the jenkins_plugin module (#59331)Wojciech Sciesinski2019-07-222-2/+3
| | | It's a backport of #59139
* [2.8] Fix ec2_eip parameter logicflowerysong2019-07-222-3/+5
| | | | | | | | | device_id is required when private_ip_address is set, but the reverse is not true. (cherry picked from commit 6273574eb4fce33cab70c5ab749fa71cc85e3855) Signed-off-by: flowerysong <junk+github@flowerysong.com> Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
* dzdo: fix password prompt (#59208)James Cassell2019-07-222-3/+5
| | | | (cherry picked from commit 28259ee247353ec02c6e85743a6d07de5f3bda3c)
* Add pslint ignore rulesSam Doran2019-07-221-0/+3
|
* [stable-2.8] Update default test container to use Python 3.8.0b2 (#58877).Sam Doran2019-07-221-1/+1
| | | | | | (cherry picked from commit 5ccd674dba810dbbe0622b764c4d06f2814cbb56) Co-authored-by: Sam Doran <sdoran@redhat.com>
* Ovirt correct sysprep backport (#59286)Martin Nečas2019-07-222-2/+4
| | | | | | * use sysprep only when needed (#59196) * add changelog
* patch ansible-connection collection plugin loading (#59119)Matt Davis2019-07-173-7/+14
| | | | (cherry picked from commit d28f25d11826de5c8cda2de6d4b7918106ed53df)
* [stable-2.8] Add test for meta: end_play (#59118)Sam Doran2019-07-174-5/+31
| | | | | | | - Set ansible_python_interpreter for hosts using local connection (cherry picked from commit d17e7a91b1) Co-authored-by: Sam Doran <sdoran@redhat.com>
* group: detect duplicate GIDs when local=yes (#58469)Martin Krizek2019-07-173-0/+33
| | | | (cherry picked from commit 4898b0a4a298448677c2aee2a03157ba5b662759)
* Fix os_quota when volume service not availablePierre Riteau2019-07-172-3/+20
| | | | | | | | | | | | | | | | | os_quota checks the current quotas for compute, network and volume services and fails when no volume service is found in the catalog. Since openstack test deployments without volume services are common, os_quota shouldn't fail if such service is missing. This was originally fixed in d31a09ceb7d337521fcfa7cecd0d6523749fad41 and later adapted to catch exceptions raised by shade. Since then, this module moved to using openstacksdk, which doesn't catch the exception raised by keystoneauth1. Fixes #41240 (cherry picked from commit 1aca1f21f97a8d78898f63f4a25ca37c9ca0c8ee)
* [2.8] tower_role: ensure alias of "validate_certs" parameter is handledPilou2019-07-173-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * tower_role: ensure alias of validate_certs is handled * tower modules: remove tower_verify_ssl alias too Error was: Failed to update role: The Tower server claims it was sent a bad request. GET https://tower/api/v2/projects/22/object_roles/ Params: [('tower_verify_ssl', False), ('role_field', 'admin_role')] Data: None Response: {"detail": "Role has no field named 'tower_verify_ssl'"} Full traceback: File "/tmp/ansible_tower_role_payload_7_2p0X/__main__.py", line 145, in main result = role.grant(**params) File "/usr/local/lib/python2.7/dist-packages/tower_cli/resources/role.py", line 365, in grant return self.role_write(fail_on_found=fail_on_found, **kwargs) File "/usr/local/lib/python2.7/dist-packages/tower_cli/resources/role.py", line 242, in role_write fail_on_multiple_results=True, **data) File "/usr/local/lib/python2.7/dist-packages/tower_cli/models/base.py", line 301, in read r = client.get(url, params=params) File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 546, in get return self.request('GET', url, **kwargs) File "/usr/local/lib/python2.7/dist-packages/tower_cli/api.py", line 299, in request kwargs.get('data', None), r.content.decode('utf8')) (cherry picked from commit 77e01e6abc67efe4056924c620281f29a42c0159)
* Update 58227-update-cce_evpn_bd_vni-to-fix-a-bug.ymlYuandongXu2019-07-171-1/+1
|
* add a changelog fragment to PR 58558.xuxiaowei05122019-07-171-0/+2
|
* update to fix a bug (#58227)YuandongXu2019-07-171-4/+5
| | | | (cherry picked from commit e0f3e404c95716e59e84568e7d84c416856adb9b)
* Backport/2.8/58226 ce_vxlan_gateway: update the regular expression to match ↵Xu Yuandong2019-07-172-3/+5
| | | | | | | | | | | | | | | | | | the more acc… (#58557) * ce_vxlan_gateway: update the regular expression to match the more accurate. (#58226) * Update the regular expression to match the more accurate * Update the regular expression to match the more accurate * Update the regular expression to match the more accurate (cherry picked from commit 2f91266aa9b5ac682889829505f4c1d738057942) * add a changlog fragment to PR 58557. * Update 58226-update-ce_vxlan_gateway-to-fix-a-bug.yml
* [2.8] Define region for aws_secret (#58722)Sloane Hertel2019-07-173-0/+93
| | | | | | | | * AWS: Fix KeyError in aws_secret lookup (#54792) (cherry picked from commit 33d0d36eaa90ea484606bb11dd8b76f40402f7a4) * changelog
* Backport/2.8/59070 ce_interface : update ce_interface to fix a bug (#59072)Xu Yuandong2019-07-172-2/+4
| | | | | | | | | * update ce_interface to fix a bug. (#59070) (cherry picked from commit 07a598089a454cc3fa040849ae04559bc52c144e) * add a changelog fragment to PR 59072.
* docker_* modules: improve tag validation and requests error handling (#58791)Felix Fontein2019-07-1722-23/+150
| | | | | | | | | | | | | | | | * Add method to validate docker tags. * Validate tag option of docker_image. * Fix regex. Always return boolean, not None vs. Matcher object. * Also catch requests errors. * Linting. * Add changelog. (cherry picked from commit 8d6f1846a6ff96ef7ea9caf3868e8cb86e9ac9a0)
* docker_container: add support for nocopy mode (#59043)Felix Fontein2019-07-172-3/+5
| | | | | | | | * Add support for nocopy mode. * Add changelog. (cherry picked from commit fa7c387f9b975aa3214d958732ed77824a0e2fcc)
* assign a sane default to yum/dnf lock_timeout, in line with cli (#57383)Adam Miller2019-07-164-3/+6
| | | | | | | | | | | | | * assign a sane default to yum/dnf lock_timeout, in line with cli Fixes #57189 Signed-off-by: Adam Miller <admiller@redhat.com> * fix typo in changelog snippet Signed-off-by: Adam Miller <admiller@redhat.com> (cherry picked from commit d2dc4c9bc43aae4e1b46098ac1e006fa3dda00ae)
* Fix gather_facts error/skipped reporting (#58927)Brian Coca2019-07-162-8/+8
| | | | | | | now give back full output from each module executed fixes #57204 (cherry picked from commit adea964c3e58a30118a6b4a5a45a835b4f3b68a8)
* nmcli: Argument vlanid (int) is changed internally to string (#58963)pratikgadiya122019-07-163-4/+7
| | | | | | | | * Argument vlanid (int) is changed internally to string * Modified test case to check vlan id Fixes: #58949 (cherry picked from commit e8f4ebb22ce2413bf26b111516c858adc2b0c083)
* ovirt: Resolve also list of hrefsOndra Machacek2019-07-162-13/+21
|
* Ovirt vm migrate with state present backport (#58720)Martin Nečas2019-07-162-1/+4
| | | | | | | | | | * ovirt vm migrate with state present (#58136) * ovirt vm migrate with state present init * add migrate comment * add changelog
* Use templated loop_var/index_var when looping include_* (#58866)Martin Krizek2019-07-165-5/+19
| | | | | | Fixes #58820 (cherry picked from commit 7346b699eec99d7279da4175b99f07e08f0de283)
* Fix broken slxos_config due to changed backup options (#58804)Lindsay Hill2019-07-162-2/+2
| | | | (cherry picked from commit 5b2d1cc24d9482e8777b324e824aaa2e43b6e538)
* Fix nagios module to recognize if file exists and is fifo pipe (#58569)Klaas Demter2019-07-162-0/+9
| | | | | | | add felixfontein suggestion to changelogs/fragments/58569-nagios-fifo-fix.yaml Co-Authored-By: Felix Fontein <felix@fontein.de> (cherry picked from commit faf50dbace25d0236f8019d114c214c61fff3f55)