Skip to main content

Add Folder

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