summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--installer/roles/local_docker/tasks/upgrade_postgres.yml5
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