mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-08-07 09:07:03 +02:00
Update to 2021-12-01 19:13
This commit is contained in:
19
roles/pgadmin4/tasks/directories.yml
Normal file
19
roles/pgadmin4/tasks/directories.yml
Normal file
@@ -0,0 +1,19 @@
|
||||
---
|
||||
|
||||
- name: Create directories
|
||||
file: path={{ item.path }} state=directory owner={{ item.owner | default(omit) }} group={{ item.group | default(omit) }} mode={{ item.mode | default(omit) }}
|
||||
with_items:
|
||||
- path: "{{ pga_root_dir }}"
|
||||
owner: pgadmin4_{{ pga_id }}
|
||||
mode: 700
|
||||
- path: "{{ pga_root_dir }}/sessions"
|
||||
owner: pgadmin4_{{ pga_id }}
|
||||
- path: "{{ pga_root_dir }}/data"
|
||||
owner: pgadmin4_{{ pga_id }}
|
||||
- path: "{{ pga_root_dir }}/logs"
|
||||
owner: pgadmin4_{{ pga_id }}
|
||||
- path: "{{ pga_root_dir }}/meta"
|
||||
mode: 700
|
||||
- path: "{{ pga_root_dir }}/backup"
|
||||
mode: 700
|
||||
tags: pgadmin4
|
Reference in New Issue
Block a user