mirror of https://github.com/ansible/ansible.git
parent
c4938a3782
commit
363ff99266
@ -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|length == 2
|
Loading…
Reference in New Issue