ported missing sequence updates from 1.9

This commit is contained in:
Brian Coca
2015-07-03 13:54:31 -04:00
parent 8c29bba2b1
commit 5122455db8
2 changed files with 25 additions and 9 deletions

View File

@@ -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