mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 05:42:50 +00:00
ported missing sequence updates from 1.9
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user