Use property names instead of references

This commit is contained in:
Sam A. 2023-11-13 21:31:09 +01:00
parent d726d95557
commit 3017190ea5
Signed by: samsapti
GPG key ID: CBBBE7371E81C4EA
5 changed files with 7 additions and 7 deletions

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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