blob: f25e9d24b38e8b08d31fa1dc1d789d8f84ef4daa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
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
|