From e62035fa5ec96947d88c80381dbd39c9bbe4e9e1 Mon Sep 17 00:00:00 2001 From: "Christian M. Adams" Date: Mon, 25 Jan 2021 09:52:02 -0500 Subject: Pre-create pgdocker dir ahead of time with proper permissions --- installer/roles/local_docker/tasks/upgrade_postgres.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/installer/roles/local_docker/tasks/upgrade_postgres.yml b/installer/roles/local_docker/tasks/upgrade_postgres.yml index d7655d7f75..7887960a57 100644 --- a/installer/roles/local_docker/tasks/upgrade_postgres.yml +++ b/installer/roles/local_docker/tasks/upgrade_postgres.yml @@ -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 -- cgit v1.2.3