diff options
author | Christian M. Adams <rooftopcellist@gmail.com> | 2021-01-25 15:52:02 +0100 |
---|---|---|
committer | Christian M. Adams <rooftopcellist@gmail.com> | 2021-01-25 15:52:02 +0100 |
commit | e62035fa5ec96947d88c80381dbd39c9bbe4e9e1 (patch) | |
tree | a5807404e45825b1c1d10b4165decda76f55ab49 | |
parent | Merge pull request #9149 from vladdoster/patch-1 (diff) | |
download | awx-e62035fa5ec96947d88c80381dbd39c9bbe4e9e1.tar.xz awx-e62035fa5ec96947d88c80381dbd39c9bbe4e9e1.zip |
Pre-create pgdocker dir ahead of time with proper permissions
-rw-r--r-- | installer/roles/local_docker/tasks/upgrade_postgres.yml | 5 |
1 files changed, 5 insertions, 0 deletions
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 |