mirror of https://github.com/ansible/ansible.git
Merge 31fbb483b5
into 6aa8192131
commit
730e282885
@ -0,0 +1,17 @@
|
||||
- hosts: localhost
|
||||
gather_facts: false
|
||||
tasks:
|
||||
- debug: var=item
|
||||
changed_when: false
|
||||
loop:
|
||||
- 1
|
||||
- 2
|
||||
- 3
|
||||
- 4
|
||||
loop_control:
|
||||
until: item >= 2
|
||||
register: untiltest
|
||||
|
||||
- assert:
|
||||
that:
|
||||
- untiltest['results']|length == 2
|
Loading…
Reference in New Issue