You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
379 B
23 lines
379 B
- name: create home dirs
|
|
file:
|
|
path: "~/{{ item }}"
|
|
state: directory
|
|
loop: "{{ homedirs }}"
|
|
|
|
- name: create volume dir
|
|
become: true
|
|
file:
|
|
path: "{{ item }}"
|
|
state: directory
|
|
owner: pi
|
|
group: pi
|
|
mode: '0755'
|
|
loop: "{{ volumedirs }}"
|
|
|
|
- name: create nextcloud dirs
|
|
file:
|
|
path: ~/{{ item}}
|
|
state: directory
|
|
loop: "{{ ncdirs }}"
|
|
|
|
|
|
|