You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
530 B
16 lines
530 B
![]()
4 years ago
|
---
|
||
|
|
||
|
- 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 }}
|
||
|
tags: pgadmin4
|