Matt Clay
2042830bab
New release v2.6.5
2018-09-28 14:05:03 -07:00
Sloane Hertel
46f189d937
Fix and re-enable sts_assume_role integration tests ( #46026 )
...
* Fix the STS assume role error message assertion when the role to assume does not exist.
(cherry picked from commit 18dc928e28
)
2018-09-28 08:51:51 -07:00
Sloane Hertel
36414cc518
Fix ec2_group for EC2-Classic accounts ( #46242 )
...
* Fix ec2_group for EC2-Classic accounts
* changelog
(cherry picked from commit 9efc3dc761
)
2018-09-28 08:50:50 -07:00
Daniel Speichert
6e90277c69
[stable-2.6] Migrate from MySQLdb to PyMySQL ( #40123 )
...
* Migrate from MySQLdb to PyMySQL
* Deduplicate driver loading and failure message
* Explain requirements
* Apply requirements docs change to proxysql too
* Add changelog.
(cherry picked from commit d34cf93f1a
)
Co-authored-by: Daniel Speichert <DSpeichert@users.noreply.github.com>
2018-09-25 16:19:51 -07:00
Felix Fontein
85626291bf
docker_container: fix various idempotency problems and non-working options ( #45905 )
...
* Sorting args.
* Doing comparisons of options with container parameters in a more context-sensitive way.
This prevents unnecessary restarts, or missing restarts (f.ex. if parameters are removed from ``cmd``).
* Make blkio_weight work.
* Fix cap_drop idempotency problem.
* Making groups idempotent if it contains integers.
* Make cpuset_mems work.
* Make dns_opts work.
* Fixing log_opts: docker expects string values, returns error for integer.
* Adding tests from felixfontein/ansible-docker_container-test#2 .
* Make uts work.
* Adding changelog entry.
* Forgot option security_opts.
* Fixing typo.
* Explain strict set(dict) comparison a bit more.
* Improving idempotency tests.
* Making dns_servers a list, since the ordering is relevant.
* Making dns_search_domains a list, since the ordering is relevant.
* Improving dns_search_domains/dns_servers.
* Fixing entrypoint test.
* Making sure options are only supported for correct docker-py versions.
2018-09-25 16:17:49 -07:00
Matt Martz
e7740b80fd
[stable-2.6] [stable-2.7] Fix logic to not re-download existing files when force=no ( #45495 ) ( #45509 )
...
* [stable-2.7] Fix logic to not re-download existing files when force=no (#45495 )
* Fix logic to not re-download existing files when force=no. Fixes #45491
* Reduce logic complexity.
(cherry picked from commit 5785de582f
)
Co-authored-by: Matt Martz <matt@sivel.net>
* Backport of get_url fix cannot use result
result was only added in 2.8+.
(cherry picked from commit 99171a9c6f
)
Co-authored-by: Matt Martz <matt@sivel.net>
2018-09-25 15:57:46 -07:00
Nathaniel Case
395b30c617
These won't get upgraded to bool if ansible doesn't know they are
...
Inspired by #45736 , but that var doesn't exist yet, so label the one
that does exist.
2018-09-25 15:35:41 -07:00
Sloane Hertel
0be82f2b08
[2.6] ec2_group: fix regression for targets that are a list containing strings and lists ( #45748 )
...
* Fix targets that may be a list containing strings and lists which worked prior to 2.6.
(cherry picked from commit 450fb9f855ae7090acbdea3e726082d4038994f8)
* Add ec2_group integration tests for lists of nested targets
(cherry picked from commit 14e3399db162c7ddaa9cb9aa6c8a476471a376c2)
* changelog
(cherry picked from commit fb17db0876d75cb629a0ed180ead1058e15a737b)
2018-09-25 15:34:04 -07:00
Felix Fontein
fe2c9cdf13
[2.6] docker_container: don't parse/interpret options if state is 'absent' ( #45768 )
...
* Don't parse/interpret options if state is 'absent'. (#45700 )
* Added changelog.
2018-09-25 15:31:32 -07:00
Matt Martz
c12f41907a
[stable-2.6] Don't pass file_name to DataLoader.load in script inventory plugin ( #45428 )
...
* Don't pass file_name to DataLoader.load in script inventory plugin. Fixes #34164
* Add changelog fragment
(cherry picked from commit 263b9fa
)
Co-authored-by: Matt Martz <matt@sivel.net>
2018-09-25 15:30:32 -07:00
Sloane Hertel
e889001b3a
Remove placeboify from unit tests that are not calling AWS (i.e. creating a recording) ( #45754 )
...
(cherry picked from commit 2167ce6cb6
)
2018-09-25 15:27:47 -07:00
Peter Söderlind
e23eefe60e
netaddr.IPAddress used by property address will if route domain other than default is used.
...
This fix is for IPv4 addresses only.
2018-09-25 15:27:06 -07:00
Michael Mayorov
5ee5e4a35c
Fix referenced before assignment in sysvinit module
...
* removed redundant variable initialization
(cherry picked from commit 7538a63f70
)
2018-09-25 14:58:30 -07:00
Jonathan
a23dfce2c9
Added default value for when CloudFrontOriginAccessIdentityList is ( #44984 )
...
missing.
(cherry picked from commit 93cd050250
)
2018-09-25 14:55:15 -07:00
Matt Martz
c3e1269ecb
[stable-2.6] Support transfering empty files to target host. Fixes #36725 ( #45751 )
...
(cherry picked from commit b6fcbfe
)
Co-authored-by: Matt Martz <matt@sivel.net>
2018-09-25 14:51:07 -07:00
Matt Martz
e0e266d070
[stable-2.6] Ensure loop with delegate_to can short circuit the same as without delegate_to. Fixes #45189 ( #45231 ).
...
(cherry picked from commit 2ac647def8
)
Co-authored-by: Matt Martz <matt@sivel.net>
2018-09-25 14:49:52 -07:00
Sloane Hertel
daac0514ef
[aws unit test utils] only create a recordings directory when the env var is set ( #45752 )
...
* Only create placebo recording test directories when the environment variable PLACEBO_RECORD is set
(cherry picked from commit 5467ac3454
)
2018-09-25 14:45:29 -07:00
Matt Martz
28632756d6
[stable-2.6] Support empty files with piped transfer_method. Fixes #45426 ( #45618 )
...
(cherry picked from commit e68f895
)
Co-authored-by: Matt Martz <matt@sivel.net>
2018-09-25 14:43:26 -07:00
Trishna Guha
643726860b
[2.6] Add ambiguous command check as the error message is not persistent on nexus devices ( #45342 )
...
* Add ambiguous command check as the error message is not persistent on nexus devices (#45337 )
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
(cherry picked from commit f18856d0e2
)
* changelog
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
2018-09-25 14:41:21 -07:00
Trishna Guha
e459893601
[2.6] Fix python2.6 nothing to repeat
nxos terminal plugin bug ( #45282 )
...
* fix python26 nxos terminal plugin bug (#45271 )
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
(cherry picked from commit c98494d5bf
)
* nxos terminal plugin changelog
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
2018-09-25 14:40:35 -07:00
Nilashish Chakraborty
66de502798
Backport 2.6: Return correct version on installed VyOS ( #39115 ) ( #45714 )
...
* Return correct version on installed VyOS (#39115 )
* Return correct version on installed VyOS
Previously existing regexp will shows only "VyOS" without numeric output of router version.
For example: from "Version: VyOS 1.1.6" only VyOS will be written in ansible_net_version variable
For more informative output numeric value should be returned as well
* Fixed unittests
(cherry picked from commit 235b11f681
)
* Added changelog
2018-09-25 14:37:21 -07:00
Sloane Hertel
8d7c4140db
ec2_group - fix VPC precedence for security group targets ( #45787 )
...
Update the dictionary with the preferred values last to get the right order of VPC precedence
Fixes #45782
(cherry picked from commit 8d2df9be52
)
2018-09-25 14:35:53 -07:00
Trishna Guha
d1621ba67d
[2.6] fix nxos_facts indefinite hang for text based output ( #45847 )
...
* fix nxos_facts indefinite hang for text based output (#45845 )
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
(cherry picked from commit 1b0c4fde86
)
* add changelog
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
2018-09-25 14:34:50 -07:00
Felix Fontein
1a14c50ab7
Fixing HTTPError case of fetch_url for Python 3 compatibility. ( #45628 )
...
* Fixing HTTPError case of fetch_url for Python 3 compatibility.
* Adding unit test.
* PEP8.
* Changelog.
2018-09-25 14:34:05 -07:00
Nathaniel Case
3f9a08b056
[2.6] Clean up after ansible-connection if failure occurred in start() ( #45929 )
...
(cherry picked from commit 0d143ed
)
Co-authored-by: Nathaniel Case <this.is@nathanielca.se>
2018-09-25 14:33:11 -07:00
Matt Davis
25f656413d
fix premature exit when RG doesn't exist ( #46013 )
...
* fixes #45941
* corrects regression introduced by #26104 ; when the resource group doesn't exist, the module exits prematurely with an error instead of creating it.
(cherry picked from commit 3b52d968e6
)
2018-09-25 14:19:31 -07:00
Vinay Dandekar
135b85e0b7
[aws] Change IAM role name parsing to come from the ARN ( #45534 )
...
(cherry picked from commit fe6b7f6b5d
)
2018-09-25 14:16:49 -07:00
Matt Martz
268beeb9f9
[stable-2.6] Support nested JSON decoding in AnsibleJSONDecoder ( #45924 )
...
* Support nested JSON decoding in AnsibleJSONDecoder
* Add tests for vault portion of AnsibleJSONDecoder
(cherry picked from commit c0915e2
)
Co-authored-by: Matt Martz <matt@sivel.net>
2018-09-25 14:15:44 -07:00
Matt Martz
47f3f4ebe3
[stable-2.6] Fix issues with PLUGIN_FILTERS_CFG config handling ( #45994 )
...
* Ensure that the value of PLUGIN_FILTERS_CFG is treated as type=path, and that we use the standard section of 'defaults' instead of 'default'
* deprecate the default section
* Don't add version_added for the corrected section
(cherry picked from commit 172137c
)
Co-authored-by: Matt Martz <matt@sivel.net>
2018-09-25 14:14:34 -07:00
Jordan Borean
cd8208a4aa
win_say - fix up syntax and test issues ( #45450 )
...
(cherry picked from commit c9c141fb6a
)
2018-09-25 14:07:37 -07:00
Jordan Borean
e750df9c8a
fix Ansible.ModuleUtils.FileUtil to respect ErrorAction if running in a try/catch ( #45451 )
...
(cherry picked from commit d4ce1b9f31
)
2018-09-25 14:06:47 -07:00
Jordan Borean
948ef78c28
win_group_membership - fix random issue with CI on 2012 R2 ( #45462 )
...
(cherry picked from commit 3371a779b6
)
2018-09-25 14:05:48 -07:00
Jordan Borean
67f3c27a3b
powershell - fix for ANSIBLE_KEEP_REMOTE_FILES on older Pythons ( #45942 )
...
(cherry picked from commit ce515a626c
)
2018-09-25 14:05:13 -07:00
Jordan Borean
0b39c66db7
powershell: do not quote join_path result to reflect ShellBase join_path ( #45944 )
...
(cherry picked from commit 198423d6fb
)
2018-09-25 14:04:20 -07:00
Jordan Borean
1eae95d919
winrm: add further conditional to using pexect for kerb auth ( #45952 )
...
(cherry picked from commit d6251e5b27
)
2018-09-25 13:57:44 -07:00
Jordan Borean
520a2bf89a
reordered windows test groups for better efficiency ( #45445 )
...
(cherry picked from commit 25ae4f2b73
)
2018-09-25 13:45:39 -07:00
Jordan Borean
1565eabe3e
go back to FreeBSD 11.1 for tests due to 11.2 stability issues ( #45872 )
...
(cherry picked from commit a7d372c3ba
)
2018-09-25 13:44:54 -07:00
Jordan Borean
9b5dd1ead3
append AWS region to test instance file ( #45877 )
...
(cherry picked from commit 582a4dfa13
)
2018-09-25 13:44:42 -07:00
Jordan Borean
ffe364dd5d
add skip/docker alias to skip tests when running on Docker ( #45955 )
...
* add skip/docker alias to skip tests when running on Docker
* changed warning message wording
(cherry picked from commit 27c10fa502
)
2018-09-25 13:44:26 -07:00
Jordan Borean
312b821501
skip installing linux-image-extra in CI as it shouldn't be needed ( #46101 )
...
(cherry picked from commit 40379b76b1
)
2018-09-25 13:44:04 -07:00
Alicia Cozine
dfdc82eb2a
Restore license agreement ( #45809 ) ( #46016 )
...
* adds page for CLA in community docs with link from community index
(partial cherry pick from commit f430f60541
)
2018-09-21 19:24:27 -05:00
tterranigma
305adf92ab
Update fileglob.py ( #45558 ) ( #45841 )
...
* Update fileglob.py
Closes #45557
(cherry picked from commit cc477ec920
)
2018-09-21 14:06:04 -05:00
Sam Doran
341e1a0f64
Undeprecate include ( #45583 )
2018-09-13 13:13:41 -05:00
Alicia Cozine
5207991748
update porting guides ( #40784 ) ( #45516 )
...
* update porting guides with info about `openstacksdk` library
(cherry picked from commit 8ae14bebda
)
2018-09-12 14:54:33 -05:00
Matt Clay
35bbcd737a
Update RHEL and FreeBSD versions used for tests:
...
- RHEL 7.4 -> 7.5
- FreeBSD 11.1 -> 11.2
(cherry picked from commit c50d6f1944
)
2018-09-12 10:19:04 -07:00
Matt Clay
21c4eb8db5
Update default container to version 1.2.0.
...
(cherry picked from commit d478a4c3f6
)
2018-09-11 18:02:51 -07:00
Matt Clay
cadccbe323
Reduce cost of Azure DB tests.
...
(cherry picked from commit ed49f37957
)
2018-09-11 18:02:51 -07:00
Matt Clay
864ddbdb5c
Fix ACI unit test on Python 3.7.0.
...
The previous logic was only needed for pre-release versions of 3.7.
(cherry picked from commit c0bf9815c9
)
2018-09-11 18:02:51 -07:00
Matt Clay
bce9d21945
Avoid duplicate Azure storage account types.
...
(cherry picked from commit ae4d5e3257
)
2018-09-11 18:02:51 -07:00
Matt Clay
6c448e38e1
Update Ansible release version to 2.6.4.post0.
2018-09-06 22:00:27 -07:00