Teil 11 Loops
This commit is contained in:
13
roles/with_items/tasks/main.yml
Normal file
13
roles/with_items/tasks/main.yml
Normal file
@@ -0,0 +1,13 @@
|
||||
- include: ../subtasks/setuploop.yml
|
||||
|
||||
- name: erzeuge Testdateien
|
||||
ansible.builtin.file:
|
||||
path: "test/{{ item }}"
|
||||
state: touch
|
||||
with_items:
|
||||
- test1.txt
|
||||
- test1.json
|
||||
- test2.txt
|
||||
- test3.txt
|
||||
- test4.dat
|
||||
|
Reference in New Issue
Block a user