changed docker volume for db to a volume with a dedicated data path

This commit is contained in:
Jens Heinitz
2021-06-11 10:03:17 +02:00
parent 3d05eeab9c
commit 77eb6df54e
4 changed files with 21 additions and 2 deletions

View File

@@ -386,6 +386,17 @@
group: "{{ awx_group }}"
mode: '0644'
#
# Create directory to store the postrgres database data files
#
- name: create directory {{ pg_volume_datapath | default(awx_composedir + '/postgres/data') }}
file:
path: "{{ pg_volume_datapath | default(awx_composedir + '/postgres/data') }}"
state: directory
owner: "{{ awx_user }}"
group: "{{awx_group }}"
mode: '0750'
#
# Create directory to store the database dumps
#