diff options
author | Corey Wanless <corey.wanless@wwt.com> | 2019-01-12 05:23:43 +0100 |
---|---|---|
committer | Corey Wanless <corey.wanless@wwt.com> | 2019-01-12 05:23:43 +0100 |
commit | b1710f9523ff7f68a33f3f6d68b98b54e08ce80f (patch) | |
tree | 3f27cfdccdd1ee3a149d3ba2a7c58bbace95afac /installer/roles/kubernetes | |
parent | Bump version to 2.1.2 (diff) | |
download | awx-b1710f9523ff7f68a33f3f6d68b98b54e08ce80f.tar.xz awx-b1710f9523ff7f68a33f3f6d68b98b54e08ce80f.zip |
adds wait time for postgres setup as a variable
Diffstat (limited to '')
-rw-r--r-- | installer/roles/kubernetes/defaults/main.yml | 2 | ||||
-rw-r--r-- | installer/roles/kubernetes/tasks/main.yml | 2 |
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 |