Use property names instead of references
This commit is contained in:
parent
d726d95557
commit
3017190ea5
|
@ -3,7 +3,7 @@
|
|||
---
|
||||
- name: Create app folder for {{ app_name }}
|
||||
ansible.builtin.file:
|
||||
name: "{{ apps_data_root }}/{{ app_name }}"
|
||||
path: "{{ apps_data_root }}/{{ app_name }}"
|
||||
owner: root
|
||||
mode: u=rwx,go=
|
||||
state: directory
|
||||
|
@ -17,7 +17,7 @@
|
|||
|
||||
- name: Create data folder for {{ app_name }}
|
||||
ansible.builtin.file:
|
||||
name: "{{ apps_data_root }}/{{ app_name }}/data"
|
||||
path: "{{ apps_data_root }}/{{ app_name }}/data"
|
||||
owner: root
|
||||
mode: u=rwx,g=rx,o=rx
|
||||
state: directory
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
---
|
||||
- name: Create subfolders for IPFS data
|
||||
ansible.builtin.file:
|
||||
name: "{{ dir }}"
|
||||
path: "{{ dir }}"
|
||||
owner: root
|
||||
mode: u=rwx,g=rx,o=rx
|
||||
state: directory
|
||||
|
|
|
@ -3,14 +3,14 @@
|
|||
---
|
||||
- name: Create subfolder for Nextcloud Apache2 config
|
||||
ansible.builtin.file:
|
||||
name: "{{ apps_data_root }}/nextcloud/data/apache2"
|
||||
path: "{{ apps_data_root }}/nextcloud/data/apache2"
|
||||
owner: root
|
||||
mode: u=rwx,g=rx,o=rx
|
||||
state: directory
|
||||
|
||||
- name: Create subfolder for Nextcloud data
|
||||
ansible.builtin.file:
|
||||
name: "{{ apps_data_root }}/nextcloud/data/app"
|
||||
path: "{{ apps_data_root }}/nextcloud/data/app"
|
||||
owner: root
|
||||
group: '33'
|
||||
mode: u=rwx,g=rx,o=rx
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
---
|
||||
- name: Create subfolder for nginx config files
|
||||
ansible.builtin.file:
|
||||
name: "{{ apps_data_root }}/nginx/data/conf.d"
|
||||
path: "{{ apps_data_root }}/nginx/data/conf.d"
|
||||
owner: root
|
||||
mode: u=rwx,g=rx,o=rx
|
||||
state: directory
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
|
||||
- name: Create base folder for apps
|
||||
ansible.builtin.file:
|
||||
name: "{{ apps_data_root }}"
|
||||
path: "{{ apps_data_root }}"
|
||||
owner: root
|
||||
mode: u=rwx,g=rx,o=rx
|
||||
state: directory
|
||||
|
|
Loading…
Reference in a new issue