summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/integration/roles/test_iterators/tasks/main.yml7
1 files changed, 6 insertions, 1 deletions
diff --git a/test/integration/roles/test_iterators/tasks/main.yml b/test/integration/roles/test_iterators/tasks/main.yml
index ad55d6d610..b324da7932 100644
--- a/test/integration/roles/test_iterators/tasks/main.yml
+++ b/test/integration/roles/test_iterators/tasks/main.yml
@@ -81,10 +81,15 @@
with_sequence: count=0
register: count_of_zero
+- name: test with_sequence count 1
+ set_fact: "{{ 'x' + item }}={{ item }}"
+ with_sequence: count=1
+ register: count_of_one
+
- assert:
that:
- count_of_zero | skipped
- - not count_of_zero | failed
+ - not count_of_one | skipped
# WITH_RANDOM_CHOICE