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 }}
|
- name: Create app folder for {{ app_name }}
|
||||||
ansible.builtin.file:
|
ansible.builtin.file:
|
||||||
name: "{{ apps_data_root }}/{{ app_name }}"
|
path: "{{ apps_data_root }}/{{ app_name }}"
|
||||||
owner: root
|
owner: root
|
||||||
mode: u=rwx,go=
|
mode: u=rwx,go=
|
||||||
state: directory
|
state: directory
|
||||||
|
@ -17,7 +17,7 @@
|
||||||
|
|
||||||
- name: Create data folder for {{ app_name }}
|
- name: Create data folder for {{ app_name }}
|
||||||
ansible.builtin.file:
|
ansible.builtin.file:
|
||||||
name: "{{ apps_data_root }}/{{ app_name }}/data"
|
path: "{{ apps_data_root }}/{{ app_name }}/data"
|
||||||
owner: root
|
owner: root
|
||||||
mode: u=rwx,g=rx,o=rx
|
mode: u=rwx,g=rx,o=rx
|
||||||
state: directory
|
state: directory
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
---
|
---
|
||||||
- name: Create subfolders for IPFS data
|
- name: Create subfolders for IPFS data
|
||||||
ansible.builtin.file:
|
ansible.builtin.file:
|
||||||
name: "{{ dir }}"
|
path: "{{ dir }}"
|
||||||
owner: root
|
owner: root
|
||||||
mode: u=rwx,g=rx,o=rx
|
mode: u=rwx,g=rx,o=rx
|
||||||
state: directory
|
state: directory
|
||||||
|
|
|
@ -3,14 +3,14 @@
|
||||||
---
|
---
|
||||||
- name: Create subfolder for Nextcloud Apache2 config
|
- name: Create subfolder for Nextcloud Apache2 config
|
||||||
ansible.builtin.file:
|
ansible.builtin.file:
|
||||||
name: "{{ apps_data_root }}/nextcloud/data/apache2"
|
path: "{{ apps_data_root }}/nextcloud/data/apache2"
|
||||||
owner: root
|
owner: root
|
||||||
mode: u=rwx,g=rx,o=rx
|
mode: u=rwx,g=rx,o=rx
|
||||||
state: directory
|
state: directory
|
||||||
|
|
||||||
- name: Create subfolder for Nextcloud data
|
- name: Create subfolder for Nextcloud data
|
||||||
ansible.builtin.file:
|
ansible.builtin.file:
|
||||||
name: "{{ apps_data_root }}/nextcloud/data/app"
|
path: "{{ apps_data_root }}/nextcloud/data/app"
|
||||||
owner: root
|
owner: root
|
||||||
group: '33'
|
group: '33'
|
||||||
mode: u=rwx,g=rx,o=rx
|
mode: u=rwx,g=rx,o=rx
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
---
|
---
|
||||||
- name: Create subfolder for nginx config files
|
- name: Create subfolder for nginx config files
|
||||||
ansible.builtin.file:
|
ansible.builtin.file:
|
||||||
name: "{{ apps_data_root }}/nginx/data/conf.d"
|
path: "{{ apps_data_root }}/nginx/data/conf.d"
|
||||||
owner: root
|
owner: root
|
||||||
mode: u=rwx,g=rx,o=rx
|
mode: u=rwx,g=rx,o=rx
|
||||||
state: directory
|
state: directory
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
|
|
||||||
- name: Create base folder for apps
|
- name: Create base folder for apps
|
||||||
ansible.builtin.file:
|
ansible.builtin.file:
|
||||||
name: "{{ apps_data_root }}"
|
path: "{{ apps_data_root }}"
|
||||||
owner: root
|
owner: root
|
||||||
mode: u=rwx,g=rx,o=rx
|
mode: u=rwx,g=rx,o=rx
|
||||||
state: directory
|
state: directory
|
||||||
|
|
Loading…
Reference in a new issue