summaryrefslogtreecommitdiff
path: root/test/integration/targets/cs_host/tasks/main.yml
diff options
context:
space:
mode:
authorMatt Martz <matt@sivel.net>2017-11-27 16:58:08 -0600
committeransibot <ansibot@users.noreply.github.com>2017-11-27 17:58:08 -0500
commit4fe08441be093a9cbe968e00606e03e33605207c (patch)
treef41c0383cdd50e08e2744468e54a7a9bb15035f9 /test/integration/targets/cs_host/tasks/main.yml
parentfd4a6cf7ad7012a07b29096f5c70f34499af1216 (diff)
downloadansible-4fe08441be093a9cbe968e00606e03e33605207c.tar.gz
Deprecate tests used as filters (#32361)
* Warn on tests used as filters * Update docs, add aliases for tests that fit more gramatically with test syntax * Fix rst formatting * Add successful filter, alias of success * Remove renamed_deprecation, it was overkill * Make directory alias for is_dir * Update tests to use proper jinja test syntax * Update additional documentation, living outside of YAML files, to reflect proper jinja test syntax * Add conversion script, porting guide updates, and changelog updates * Update newly added uses of tests as filters * No underscore variable * Convert recent tests as filter changes to win_stat * Fix some changes related to rebasing a few integration tests * Make tests_as_filters_warning explicitly accept the name of the test, instead of inferring the name * Add test for tests_as_filters_warning * Update tests as filters in newly added/modified tests * Address recent changes to several integration tests * Address recent changes in cs_vpc
Diffstat (limited to 'test/integration/targets/cs_host/tasks/main.yml')
-rw-r--r--test/integration/targets/cs_host/tasks/main.yml38
1 files changed, 19 insertions, 19 deletions
diff --git a/test/integration/targets/cs_host/tasks/main.yml b/test/integration/targets/cs_host/tasks/main.yml
index 0c29e4b618..f7855889b0 100644
--- a/test/integration/targets/cs_host/tasks/main.yml
+++ b/test/integration/targets/cs_host/tasks/main.yml
@@ -6,7 +6,7 @@
- name: verify test fail missing url if host is not existent
assert:
that:
- - host|failed
+ - host is failed
- 'host.msg == "missing required arguments: name"'
- name: test fail missing params if host is not existent
@@ -17,7 +17,7 @@
- name: verify test fail missing params if host is not existent
assert:
that:
- - host|failed
+ - host is failed
- 'host.msg == "missing required arguments: password, username, hypervisor, pod"'
- name: test create a host in check mode
@@ -38,7 +38,7 @@
- name: verify test create a host in check mode
assert:
that:
- - host|changed
+ - host is changed
- name: test create a host
cs_host:
@@ -57,7 +57,7 @@
- name: verify test create a host
assert:
that:
- - host|changed
+ - host is changed
- host.cluster == 'C0-basic'
- host.pod == 'POD0-basic'
- host.hypervisor == 'Simulator'
@@ -91,7 +91,7 @@
- name: verify test create a host idempotence
assert:
that:
- - not host|changed
+ - host is not changed
- host.cluster == 'C0-basic'
- host.pod == 'POD0-basic'
- host.hypervisor == 'Simulator'
@@ -120,7 +120,7 @@
- name: verify test update a host in check mode
assert:
that:
- - host|changed
+ - host is changed
- host.cluster == 'C0-basic'
- host.pod == 'POD0-basic'
- host.hypervisor == 'Simulator'
@@ -148,7 +148,7 @@
- name: verify test update a host in check mode
assert:
that:
- - host|changed
+ - host is changed
- host.cluster == 'C0-basic'
- host.pod == 'POD0-basic'
- host.hypervisor == 'Simulator'
@@ -176,7 +176,7 @@
- name: verify test update a host idempotence
assert:
that:
- - not host|changed
+ - host is not changed
- host.cluster == 'C0-basic'
- host.pod == 'POD0-basic'
- host.hypervisor == 'Simulator'
@@ -203,7 +203,7 @@
- name: verify test update host remove host_tags
assert:
that:
- - host|changed
+ - host is changed
- host.host_tags|length == 0
- host.cluster == 'C0-basic'
- host.pod == 'POD0-basic'
@@ -231,7 +231,7 @@
- name: verify test update host remove host_tags idempotence
assert:
that:
- - not host|changed
+ - host is not changed
- len(host.host_tags) == 0
- host.cluster == 'C0-basic'
- host.pod == 'POD0-basic'
@@ -254,7 +254,7 @@
- name: verify test put host in maintenance in check mode
assert:
that:
- - host|changed
+ - host is changed
- host.cluster == 'C0-basic'
- host.pod == 'POD0-basic'
- host.hypervisor == 'Simulator'
@@ -274,7 +274,7 @@
- name: verify test put host in maintenance
assert:
that:
- - host|changed
+ - host is changed
- host.cluster == 'C0-basic'
- host.pod == 'POD0-basic'
- host.hypervisor == 'Simulator'
@@ -294,7 +294,7 @@
- name: verify test put host in maintenance idempotence
assert:
that:
- - not host|changed
+ - host is not changed
- host.cluster == 'C0-basic'
- host.pod == 'POD0-basic'
- host.hypervisor == 'Simulator'
@@ -315,7 +315,7 @@
- name: verify test put host out of maintenance in check mode
assert:
that:
- - host|changed
+ - host is changed
- host.cluster == 'C0-basic'
- host.pod == 'POD0-basic'
- host.hypervisor == 'Simulator'
@@ -335,7 +335,7 @@
- name: verify test put host out of maintenance
assert:
that:
- - host|changed
+ - host is changed
- host.cluster == 'C0-basic'
- host.pod == 'POD0-basic'
- host.hypervisor == 'Simulator'
@@ -355,7 +355,7 @@
- name: verify test put host out of maintenance idempotence
assert:
that:
- - not host|changed
+ - host is not changed
- host.cluster == 'C0-basic'
- host.pod == 'POD0-basic'
- host.hypervisor == 'Simulator'
@@ -376,7 +376,7 @@
- name: verify test remove a host in check mode
assert:
that:
- - host|changed
+ - host is changed
- host.cluster == 'C0-basic'
- host.pod == 'POD0-basic'
- host.hypervisor == 'Simulator'
@@ -396,7 +396,7 @@
- name: verify test remove a host
assert:
that:
- - host|changed
+ - host is changed
- host.cluster == 'C0-basic'
- host.pod == 'POD0-basic'
- host.hypervisor == 'Simulator'
@@ -416,4 +416,4 @@
- name: verify test remove a host idempotenc
assert:
that:
- - not host|changed
+ - host is not changed