Folder -> directory
This commit is contained in:
parent
66e7fbc6b6
commit
a52bb7fafa
|
@ -1,7 +1,7 @@
|
|||
# vim: ft=yaml.ansible
|
||||
# code: language=ansible
|
||||
---
|
||||
- name: Create app folder for {{ app_name }}
|
||||
- name: Create app directory for {{ app_name }}
|
||||
ansible.builtin.file:
|
||||
path: "{{ apps_data_root }}/{{ app_name }}"
|
||||
owner: root
|
||||
|
@ -15,7 +15,7 @@
|
|||
owner: root
|
||||
mode: u=rw,go=
|
||||
|
||||
- name: Create data folder for {{ app_name }}
|
||||
- name: Create data directory for {{ app_name }}
|
||||
ansible.builtin.file:
|
||||
path: "{{ apps_data_root }}/{{ app_name }}/data"
|
||||
owner: root
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# vim: ft=yaml.ansible
|
||||
# code: language=ansible
|
||||
---
|
||||
- name: Create subfolders for IPFS data
|
||||
- name: Create subdirectories for IPFS data
|
||||
ansible.builtin.file:
|
||||
path: "{{ dir }}"
|
||||
owner: root
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# vim: ft=yaml.ansible
|
||||
# code: language=ansible
|
||||
---
|
||||
- name: Create subfolder for monerod data
|
||||
- name: Create subdirectory for monerod data
|
||||
ansible.builtin.file:
|
||||
path: "{{ apps_data_root }}/monerod/data/bitmonero"
|
||||
owner: '1000'
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
# vim: ft=yaml.ansible
|
||||
# code: language=ansible
|
||||
---
|
||||
- name: Create subfolder for Nextcloud Apache2 config
|
||||
- name: Create subdirectory for Nextcloud Apache2 config
|
||||
ansible.builtin.file:
|
||||
path: "{{ apps_data_root }}/nextcloud/data/apache2"
|
||||
owner: root
|
||||
mode: u=rwx,g=rx,o=rx
|
||||
state: directory
|
||||
|
||||
- name: Create subfolder for Nextcloud data
|
||||
- name: Create subdirectory for Nextcloud data
|
||||
ansible.builtin.file:
|
||||
path: "{{ apps_data_root }}/nextcloud/data/app"
|
||||
owner: root
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# vim: ft=yaml.ansible
|
||||
# code: language=ansible
|
||||
---
|
||||
- name: Create subfolder for nginx config files
|
||||
- name: Create subdirectory for nginx config files
|
||||
ansible.builtin.file:
|
||||
path: "{{ apps_data_root }}/nginx/data/conf.d"
|
||||
owner: root
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
state: present
|
||||
when: "'postfix' in apps_include"
|
||||
|
||||
- name: Create base folder for apps
|
||||
- name: Create base directory for apps
|
||||
ansible.builtin.file:
|
||||
path: "{{ apps_data_root }}"
|
||||
owner: root
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
update_cache: true
|
||||
state: present
|
||||
|
||||
- name: Create PostgreSQL service override folder
|
||||
- name: Create PostgreSQL service override directory
|
||||
ansible.builtin.file:
|
||||
path: /etc/systemd/system/{{ postgresql_service }}.service.d
|
||||
owner: root
|
||||
|
@ -42,13 +42,20 @@
|
|||
- name: Flush handlers
|
||||
ansible.builtin.meta: flush_handlers
|
||||
|
||||
- name: Create PGDATA folder
|
||||
- name: Create PGDATA directory
|
||||
ansible.builtin.file:
|
||||
path: "{{ postgresql_pgdata }}"
|
||||
owner: postgres
|
||||
mode: u=rwx,go=
|
||||
state: directory
|
||||
|
||||
- name: Create WAL archive directory
|
||||
ansible.builtin.file:
|
||||
path: "{{ postgresql_wal_archive }}"
|
||||
owner: postgres
|
||||
mode: u=rwx,go=
|
||||
state: directory
|
||||
|
||||
- name: Initialize database
|
||||
ansible.builtin.command:
|
||||
cmd: /usr/pgsql-{{ postgresql_version }}/bin/postgresql-{{ postgresql_version }}-setup initdb
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
# vim: ft=yaml.ansible
|
||||
# code: language=ansible
|
||||
---
|
||||
- name: Create base folder for Caddy
|
||||
- name: Create base directory for Caddy
|
||||
ansible.builtin.file:
|
||||
path: "{{ proxy_data_root }}"
|
||||
owner: root
|
||||
mode: u=rwx,g=rx,o=rx
|
||||
state: directory
|
||||
|
||||
- name: Create build folder for Caddy
|
||||
- name: Create build directory for Caddy
|
||||
ansible.builtin.file:
|
||||
path: "{{ proxy_data_root }}/build"
|
||||
owner: root
|
||||
|
@ -30,7 +30,7 @@
|
|||
mode: u=rw,g=r,o=r
|
||||
notify: Build custom Docker image for Caddy
|
||||
|
||||
- name: Create data folder for Caddy
|
||||
- name: Create data directory for Caddy
|
||||
ansible.builtin.file:
|
||||
path: "{{ proxy_data_root }}/data"
|
||||
owner: root
|
||||
|
@ -44,7 +44,7 @@
|
|||
owner: root
|
||||
mode: u=rw,go=
|
||||
|
||||
- name: Create subfolders for Caddy data
|
||||
- name: Create subdirectories for Caddy data
|
||||
ansible.builtin.file:
|
||||
path: "{{ proxy_data_root }}/data/caddy-{{ item }}"
|
||||
owner: root
|
||||
|
|
Loading…
Reference in a new issue