Felix Fontein
c4144398bb
Fix force when state==present. ( #53003 )
...
(cherry picked from commit 76e0e0080b
)
2019-03-01 15:25:24 -08:00
Felix Fontein
7c500a4002
docker_swarm: extend tests (part I) ( #53005 )
...
* Restructure tests.
* Allow tests to work when ansible_default_ipv4.address is undefined.
(cherry picked from commit e017d94766
)
2019-03-01 15:25:24 -08:00
Felix Fontein
aed59e5695
docker_swarm: make labels work with older docker daemon versions ( #52895 )
...
* Make labels work with older docker daemon versions.
* Fix idempotence detection.
* Add changelog.
(cherry picked from commit a1ec307d43
)
2019-03-01 15:25:24 -08:00
Felix Fontein
23d9efc1f3
docker_swarm: hopefully fix debug CI problems, and fix check mode ( #52825 )
...
* Let's see some debug output.
* Also check LocalNodeState.
* Improve tests.
* Actually implement check mode.
* Add changelog.
* Add pretty-printing and more output.
(cherry picked from commit 81d58cfef6
)
2019-03-01 15:25:24 -08:00
Wojciech Sciesinski
8ae9f99979
Don't run integration tests for OS'es older than Windows 2016 ( #53057 )
2019-03-01 15:23:22 -08:00
Brian Coca
6bd7ef4838
Ensure play order is obeyed ( #49897 )
...
* Ensure play order is obeyed
it was being ignored depending on other options
also added tests for each order (except shuffle) both serial and not
fixes #49846
(cherry picked from commit cfba6dfe91
)
2019-03-01 15:13:11 -08:00
s-hertel
88106ce626
fix no_log indentation so AWS temporary credentials aren't displayed in tests
...
(cherry picked from commit 6cacbcba665af685608253d16275d3bcf33dfa79)
2019-03-01 15:11:42 -08:00
Felix Fontein
2c1381aeb5
Don't die when kernel memory accounting is not supported by runc build. ( #53163 )
...
(cherry picked from commit e4c2cbcca2
)
2019-03-01 09:35:18 -08:00
Abhijeet Kasurde
096b3f8eb9
[Backport 2.7] VMware: Handle customValue in inventory
...
* VMware: Refactor guest inventory plugin
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
(cherry picked from commit e41b98ffb5
)
2019-02-27 08:35:22 -08:00
Jordan Borean
788ba0b911
OpenSUSE - Add OpenSUSE 15 test containers ( #52793 )
...
* OpenSUSE - Add OpenSUSE 15 test containers ci_complete
* Reset matrix back to normal
* Set container version instead of latest
* Remove old Docker completion file
(cherry picked from commit 3635c59b23
)
2019-02-26 10:15:18 -08:00
Aniket Khisti
2d4096daf0
Fix trackback on providing arguemnt --all to ansible-doc command ( #52034 )
...
* Remove redundant argument from the function caller
* Add unit test
* Add changelog
2019-02-22 10:44:19 -08:00
Jordan Borean
bcd1289ff2
Suse add py3 package vars ( #52794 )
...
(cherry picked from commit 80652ad054
)
2019-02-22 10:42:34 -08:00
Jordan Borean
cc45ba277c
test - add setup target that creates the nobody user ( #52750 )
...
* test - add setup target that creates the nobody user
* do not set explicit gid/uid for nobody user
* Do no create group and only touch basic attributes
(cherry picked from commit 17bfc60423
)
2019-02-22 10:42:11 -08:00
Jordan Borean
eb1f8e60e0
test - add Python 3 package for OpenSUSE in setup_openssl ( #52775 )
...
(cherry picked from commit 63c22f6eb0
)
2019-02-21 17:06:48 -08:00
Jordan Borean
f1566f07db
fix filesystem tests on OpenSUSE 15+ ( #52716 )
...
(cherry picked from commit 5e3e0eb946
)
2019-02-21 17:06:01 -08:00
Jordan Borean
773b20886c
test suse: get tests working on newer OpenSUSE distributions ( #52539 )
...
(cherry picked from commit c312287731
)
2019-02-21 16:43:25 -08:00
Jordan Borean
a17d9f1cc6
git: kill gpg-agent in tests on newer OpenSUSE hosts ( #52476 )
...
(cherry picked from commit bb0a69e084
)
2019-02-18 10:06:09 -08:00
Zim Kalinowski
211fe600a4
fixing force_update in azure_rm_mysqldatabase ( #52389 )
...
(cherry picked from commit fa73abcf5d
)
2019-02-18 09:57:12 -08:00
Zim Kalinowski
474d76c0dd
Fixing azure_rm_postgresqldatabase force_update parameter ( #52388 )
...
(cherry picked from commit 8422e23533
)
2019-02-18 09:47:01 -08:00
Zim Kalinowski
0e4f07b5ae
resolved conflict
2019-02-18 08:48:29 -08:00
Zim Kalinowski
0fed03fa85
merge conflict
2019-02-18 08:48:08 -08:00
Jordan Borean
2800f23274
alternatives - fix OpenSUSE dir on newer distros ( #52458 )
...
(cherry picked from commit 3ecd6e19f7
)
2019-02-18 08:46:05 -08:00
Jordan Borean
f8e29c81f1
zypper_repository: fix return check on newer OpenSUSE versions ( #52457 )
...
(cherry picked from commit d6453a79f5
)
2019-02-18 08:45:14 -08:00
Jordan Borean
7ab05d551f
zypper: fix tests to use new URL for OpenSUSE 15.0 ( #52453 )
...
(cherry picked from commit 4b296da6a2
)
2019-02-18 08:44:40 -08:00
Zim Kalinowski
3929cfea85
merged change
2019-02-18 08:44:16 -08:00
Jordan Borean
bbf2d6b637
opensuse - install password-store from specific repo ( #52439 )
...
(cherry picked from commit 4a94bd8d9d
)
2019-02-18 08:42:59 -08:00
Martin Krizek
7fb1549152
Native Jinja2: raise undefined error immediately ( #52237 )
...
Fixes #52158
(cherry picked from commit 50d7483632
)
2019-02-18 08:31:26 -08:00
T. Ichikawa
dc3b7aebd6
Backport/2.7/51548 - Properly handle unauthenticated yum proxy config ( #52245 )
...
* Properly handle unauthenticated yum proxy config (#51915 )
Fixes #51548
Signed-off-by: Adam Miller <admiller@redhat.com>
(cherry picked from commit 2721ed260e
)
* Fix: Yum module does not use proxy when username is not set #51548 (#51994 )
* add test of yum with proxy
* Properly handle unauthenticated yum proxy config
Fixes #51548
* shell executable is bash
(cherry picked from commit c2a409a9e0
)
2019-02-14 12:45:31 -08:00
Sam Doran
805c9fa712
Update command/shell docs with note about modules for rebooting( #51499 )
...
(cherry picked from commit ad386290b4
)
2019-02-14 12:42:22 -08:00
Wojciech Sciesinski
b7b4182bbd
Install the NuGet package provider if needed ( #52129 )
...
* Install the NuGet package provider if needed
* Add the changelog fragment file
2019-02-14 12:41:16 -08:00
Matt Martz
396a2f7471
[stable-2.7] Disallow use of remote home directories containing .. in their path (CVE-2019-3828) ( #52133 ) ( #52173 )
...
* Disallow use of remote home directories containing .. in their path
* Add CVE to changelog
(cherry picked from commit b34d141
)
Co-authored-by: Matt Martz <matt@sivel.net>
2019-02-13 09:23:06 -08:00
Jordan Borean
03100cb647
Add Windows Server 2019 to Shippable matrix ( #51685 )
...
* Test out Server 2019 - ci_complete
* run tests and continue on error - ci_complete
* Add the full matrix back in
(cherry picked from commit 0334c20630
)
2019-02-12 10:29:28 -08:00
Felix Fontein
0093b69935
openssl_csr: ignore empty strings in altnames ( #51473 )
...
* Ignore empty strings in altnames.
* Add changelog.
* Add idempotence check without SAN.
* Fix bug in cryptography backend.
(cherry picked from commit 9b1cbcf3a4
)
2019-02-11 12:10:22 -08:00
Martin Krizek
1492f46d78
yum: disableexcludes is supported on centos6 ( #51698 )
...
(cherry picked from commit 33b07f322c
)
2019-02-11 11:18:29 -08:00
Matt Davis
0708c80c40
fix string_format sanity check ( #51780 )
...
* newer version of Pylint moved the impl; use conditional import to find for new/old
(cherry picked from commit 6654c7aeea
)
2019-02-11 11:15:22 -08:00
Wojciech Sciesinski
90203d0a11
Correct integration tests for the win_disk_facts module ( #51044 )
...
* Correct integration tests for the win_disk_facts module
* Exclude W2K8, W2K8-R2 from tests run under CI
2019-02-11 11:14:54 -08:00
Elijah DeLee
fe79534415
Backport aws ec2 missing region discovery ( #51626 )
...
* aws_ec2 Implement the missing 'region discovery' (#51333 )
* aws_ec2 Implement the missing 'region discovery'
fixes #45288
tries to use api as documented (which seems to fail in latest boto3 versions)
and fallback to boto3 'hardcoded' list of regions
* fixes and cleanup, add error for worst case scenario
* fix tests, remove more unused code
* add load_name
* acually load the plugin
* set plugin as required
* reverted test changes, removed options tests
* fixes as per feedback and cleanup
* Allow default regions list to use flexible credential types
2019-02-11 11:13:48 -08:00
Jordan Borean
ad71a9a7ed
Get docker tests working on OpenSUSE ( #51896 )
...
(cherry picked from commit c92fcf0b57
)
2019-02-07 13:54:22 -08:00
Matt Davis
ac3a3ce599
[stable-2.7] fix azure_rm_deployment test
...
* recent changes to args for hosted template file broke the test; changed test to use a specific known-working commit instead of `master`.
* long-term may want to consider hosting the template in httptester or just embedding a local copy
(cherry picked from commit 46bf387
)
Co-authored-by: Matt Davis <mrd@redhat.com>
2019-02-07 13:15:22 -08:00
Brian Coca
7589d496fc
remove default from delegate_facts to inherit ( #45492 ) ( #51553 )
...
* remove default from delegate_facts to inherit (#45492 )
* remove default from delegate_facts to inherit
fixes #45456
* test delegate_facts
* added note about inheritance and defaults
* yamllint
(cherry picked from commit 8743e6ae2e
)
* added changelog
2019-02-04 14:16:32 -08:00
Jordan Borean
bdf7f42b7c
test win_setup - make py3 compatible ( #51693 )
...
(cherry picked from commit f78cdcd2c5
)
2019-02-04 12:57:27 -08:00
Jordan Borean
aedad64c8f
win_service - use custom binary for tests ( #51689 )
...
(cherry picked from commit 2e99dea867
)
2019-02-04 12:57:06 -08:00
Jordan Borean
06505fc521
add pause to make test more stable ( #51680 )
...
(cherry picked from commit ebc9e4caf7
)
2019-02-04 12:54:08 -08:00
Jordan Borean
9168e6844a
win_power_plan: fix for Windows 10 and Server 2008 compatibility ( #51471 )
...
(cherry picked from commit f27078df52
)
2019-02-04 12:35:53 -08:00
Brian Coca
3bf030ddcc
Handle complex quoting in extra args in pull cli ( #50212 )
...
* added proper testing
fixes #40729
(cherry picked from commit b6824669df
)
(cherry picked from commit e010034151
)
2019-02-04 12:27:00 -08:00
Felix Fontein
af977daec7
Adjusting to differences between Ansible 2.7 and Ansible 2.8.
...
(cherry picked from commit 6cdb357826ffb1446e4ceb1050349fe30f511b41)
2019-01-31 08:42:29 -08:00
Akshay Gaikwad
03bc4be1c3
Add integration tests for docker_image options ( #48574 )
...
* Add integration tests for docker_image options
Tests for options in docker_image module
Signed-off-by: Akshay Gaikwad <akgaikwad001@gmail.com>
* Add force option tests
Signed-off-by: Akshay Gaikwad <akgaikwad001@gmail.com>
* Add repository option tests
Signed-off-by: Akshay Gaikwad <akgaikwad001@gmail.com>
* Modify test for option force
Signed-off-by: Akshay Gaikwad <akgaikwad001@gmail.com>
(cherry picked from commit 0493ef359a
)
2019-01-31 08:42:29 -08:00
Jordan Borean
1d3f29d4be
ansible-test: make the httptester for Windows more resiliant around the shell chosen ( #51416 )
...
(cherry picked from commit ce8db479f0
)
2019-01-29 17:53:32 -08:00
Dag Wieers
67606bfa66
aci_aaa_user: Fix an issue with clear_password_history
2019-01-29 17:31:32 -08:00
Dag Wieers
0d5f083a52
aci_aaa_user: Fix changing user description
...
This fixes a reported problem with the aci_aaa_user module.
2019-01-29 11:06:18 -08:00