summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--installer/roles/kubernetes/defaults/main.yml2
-rw-r--r--installer/roles/kubernetes/tasks/main.yml2
2 files changed, 3 insertions, 1 deletions
diff --git a/installer/roles/kubernetes/defaults/main.yml b/installer/roles/kubernetes/defaults/main.yml
index e1f19453be..1ee06a03fa 100644
--- a/installer/roles/kubernetes/defaults/main.yml
+++ b/installer/roles/kubernetes/defaults/main.yml
@@ -42,3 +42,5 @@ openshift_pg_pvc_name: postgresql
kubernetes_deployment_name: awx
kubernetes_deployment_replica_size: 1
+
+postgress_activate_wait: 60
diff --git a/installer/roles/kubernetes/tasks/main.yml b/installer/roles/kubernetes/tasks/main.yml
index ec857ab2e4..021f9a1a50 100644
--- a/installer/roles/kubernetes/tasks/main.yml
+++ b/installer/roles/kubernetes/tasks/main.yml
@@ -103,7 +103,7 @@
- name: Wait for Postgres to activate
pause:
- seconds: 60
+ seconds: "{{ postgress_activate_wait }}"
when: openshift_pg_activate.changed or kubernetes_pg_activate.changed
- name: Set image names if using custom registry