mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-07-07 02:58:54 +00:00
Moving samples/ out of the root into test/
Since samples/ is used for v2 testing, it fits better into the existing test/ structure.
This commit is contained in:
parent
cc0d58abcc
commit
5775739437
69 changed files with 0 additions and 0 deletions
13
test/samples/with_sequence.yml
Normal file
13
test/samples/with_sequence.yml
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
- hosts: localhost
|
||||
connection: local
|
||||
gather_facts: no
|
||||
tasks:
|
||||
|
||||
- debug: msg="name={{ item }} state=present groups=evens"
|
||||
with_sequence: start=0 end=32 format=testuser%02x
|
||||
|
||||
- debug: msg="dest=/var/stuff/{{ item }} state=directory"
|
||||
with_sequence: start=4 end=16 stride=2
|
||||
|
||||
- debug: msg="name=group{{ item }} state=present"
|
||||
with_sequence: count=4
|
||||
Loading…
Add table
Add a link
Reference in a new issue