Fix directory permissions
This commit is contained in:
parent
6592020863
commit
d394c3cbe2
|
@ -1,17 +1,20 @@
|
|||
# vim: ft=yaml.ansible
|
||||
# code: language=ansible
|
||||
---
|
||||
- name: Create subdirectories for IPFS data
|
||||
- name: Create subdirectory for IPFS data
|
||||
ansible.builtin.file:
|
||||
path: "{{ dir }}"
|
||||
path: "{{ apps_data_root }}/ipfs/data/data"
|
||||
owner: '1000'
|
||||
group: root
|
||||
mode: u=rwx,g=rx,o=rx
|
||||
state: directory
|
||||
|
||||
- name: Create subdirectory for IPFS staging
|
||||
ansible.builtin.file:
|
||||
path: "{{ apps_data_root }}/ipfs/data/staging"
|
||||
owner: root
|
||||
mode: u=rwx,g=rx,o=rx
|
||||
state: directory
|
||||
loop:
|
||||
- "{{ apps_data_root }}/ipfs/data/data"
|
||||
- "{{ apps_data_root }}/ipfs/data/staging"
|
||||
loop_control:
|
||||
loop_var: dir
|
||||
|
||||
- name: Copy ipfs-config.sh
|
||||
ansible.builtin.copy:
|
||||
|
|
Loading…
Reference in a new issue