summaryrefslogtreecommitdiffstats
path: root/test/integration/targets/win_setup
diff options
context:
space:
mode:
authorJordan Borean <jborean93@gmail.com>2019-02-04 20:38:04 +0100
committerGitHub <noreply@github.com>2019-02-04 20:38:04 +0100
commitf78cdcd2c59cf38bda841d6f12cfab9d8b39f753 (patch)
tree7cb5f08e6c10fb818c6f91eeaa0aebabafce13cf /test/integration/targets/win_setup
parentAvoid accidental fork bombs due to try/except (#51633) (#51636) (diff)
downloadansible-f78cdcd2c59cf38bda841d6f12cfab9d8b39f753.tar.xz
ansible-f78cdcd2c59cf38bda841d6f12cfab9d8b39f753.zip
test win_setup - make py3 compatible (#51693)
Diffstat (limited to 'test/integration/targets/win_setup')
-rw-r--r--test/integration/targets/win_setup/tasks/main.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/integration/targets/win_setup/tasks/main.yml b/test/integration/targets/win_setup/tasks/main.yml
index 92f9a23444..a81a00f1ae 100644
--- a/test/integration/targets/win_setup/tasks/main.yml
+++ b/test/integration/targets/win_setup/tasks/main.yml
@@ -92,7 +92,7 @@
- setup_result.ansible_facts.gather_subset is defined
- setup_result.ansible_facts.gather_subset[0] == '!all'
- setup_result.ansible_facts.gather_subset[1] == '!min'
- - setup_result.ansible_facts.keys() | union(['gather_subset','module_setup']) | length == 2
+ - setup_result.ansible_facts.keys() | list | union(['gather_subset','module_setup']) | length == 2
- name: test gather_subset "!all,!min,interfaces" with list
setup:
@@ -117,7 +117,7 @@
- setup_result.ansible_facts.ansible_interfaces[0].interface_name
- setup_result.ansible_facts.ansible_interfaces[0].connection_name
- setup_result.ansible_facts.ansible_interfaces[0].interface_index
- - setup_result.ansible_facts.keys() | union(['ansible_interfaces','gather_subset','module_setup']) | length == 3
+ - setup_result.ansible_facts.keys() | list | union(['ansible_interfaces','gather_subset','module_setup']) | length == 3
- name: test gather_subset "!all,!min,bogus" with list
setup:
@@ -136,6 +136,6 @@
- setup_result.ansible_facts.gather_subset is defined
- setup_result.ansible_facts.gather_subset[0] == '!all'
- setup_result.ansible_facts.gather_subset[1] == '!min'
- - setup_result.ansible_facts.keys() | union(['gather_subset','module_setup']) | length == 2
+ - setup_result.ansible_facts.keys() | list | union(['gather_subset','module_setup']) | length == 2
- setup_result.warnings | length == 1
- setup_result.warnings[0] | regex_search('bogus')