2023-10-28 23:00:05 +00:00
|
|
|
# vim: ft=yaml.ansible
|
2023-10-29 19:46:52 +00:00
|
|
|
# code: language=ansible
|
2023-10-28 23:00:05 +00:00
|
|
|
---
|
2024-01-06 16:24:39 +00:00
|
|
|
- name: Create subdirectory for IPFS data
|
2023-10-28 23:00:05 +00:00
|
|
|
ansible.builtin.file:
|
2024-01-06 16:24:39 +00:00
|
|
|
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"
|
2023-10-28 23:00:05 +00:00
|
|
|
owner: root
|
|
|
|
mode: u=rwx,g=rx,o=rx
|
|
|
|
state: directory
|
|
|
|
|
|
|
|
- name: Copy ipfs-config.sh
|
|
|
|
ansible.builtin.copy:
|
|
|
|
src: ipfs/ipfs-config.sh
|
2023-11-05 17:27:49 +00:00
|
|
|
dest: "{{ apps_data_root }}/ipfs/data/ipfs-config.sh"
|
2023-10-28 23:00:05 +00:00
|
|
|
owner: root
|
|
|
|
mode: u=rwx,g=rx,o=rx
|