1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/test/samples/with_sequence.yml
Dag Wieers 5775739437 Moving samples/ out of the root into test/
Since samples/ is used for v2 testing, it fits better into the existing test/ structure.
2016-03-11 21:59:06 +01:00

13 lines
378 B
YAML

- 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