diff options
author | Brian Coca <brian.coca+git@gmail.com> | 2015-07-03 19:54:31 +0200 |
---|---|---|
committer | Brian Coca <brian.coca+git@gmail.com> | 2015-07-03 19:54:51 +0200 |
commit | 5122455db833eeddc92b74c44d112c125878502b (patch) | |
tree | 4c8739fd9bd1143dfc155449fbf993131a424a31 /test | |
parent | Merge pull request #10492 from jtyr/comment_filter (diff) | |
download | ansible-5122455db833eeddc92b74c44d112c125878502b.tar.xz ansible-5122455db833eeddc92b74c44d112c125878502b.zip |
ported missing sequence updates from 1.9
Diffstat (limited to 'test')
-rw-r--r-- | test/integration/roles/test_iterators/tasks/main.yml | 7 |
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 |