Add Folder
- name: creates multiple directories in one task
ansible.builtin.file:
path: "{{ item }}"
state: directory
loop:
- /srv/www
- /dir/foo
- /dir/bar
- name: creates multiple directories in one task
ansible.builtin.file:
path: "{{ item }}"
state: directory
loop:
- /srv/www
- /dir/foo
- /dir/bar
No Comments