mirror of
https://github.com/ansible/awx.git
synced 2026-02-22 13:36:02 -03:30
Specify a PGDATA directory to prevent container re-create issues
This commit is contained in:
@@ -94,6 +94,7 @@
|
|||||||
POSTGRES_USER: "{{ pg_username }}"
|
POSTGRES_USER: "{{ pg_username }}"
|
||||||
POSTGRES_PASSWORD: "{{ pg_password }}"
|
POSTGRES_PASSWORD: "{{ pg_password }}"
|
||||||
POSTGRES_DB: "{{ pg_database }}"
|
POSTGRES_DB: "{{ pg_database }}"
|
||||||
|
PGDATA: "/var/lib/postgresql/data/pgdata"
|
||||||
when: pg_hostname is not defined or pg_hostname == ''
|
when: pg_hostname is not defined or pg_hostname == ''
|
||||||
register: postgres_container_activate
|
register: postgres_container_activate
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user