Pre-create pgdocker dir ahead of time with proper permissions

This commit is contained in:
Christian M. Adams 2021-01-25 09:52:02 -05:00
parent 83372d6f03
commit e62035fa5e

View File

@ -1,5 +1,10 @@
---
- name: Create {{ postgres_data_dir }} directory
file:
path: "{{ postgres_data_dir }}"
state: directory
- name: Get full path of postgres data dir
shell: "echo {{ postgres_data_dir }}"
register: fq_postgres_data_dir