Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add wait after LDAP Secret Patch for rollout to complete #598

Merged
merged 3 commits into from
Mar 31, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -69,3 +69,12 @@
oc patch deployment/ansible-tower \
-p '{{ final_secret_volume_patch | to_json }}' \
-n {{ openshift_project }}

- name: Verify Ansible Tower deployment has completed rollout after setting CA Secret volume
command: |
oc rollout status deployment/ansible-tower \
-n {{ openshift_project }}
register: deployment_status_check
until: deployment_status_check.stdout == "deployment \"ansible-tower\" successfully rolled out"
retries: 6
delay: 10
2 changes: 1 addition & 1 deletion roles/ansible/tower/config-ansible-tower-ocp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ The variables used to install Ansible Tower on OpenShift are outlined in the tab
|ansible_tower.install.openshift.token|OpenShift token|no(either that or password)||
|ansible_tower.install.openshift.skip_tls_verify| Should installer skip TLS verifcation of Openshift API|no|false|
|ansible_tower.install.openshift.pg_emptydir|Flag for PostgreSQL to use EmptyDir for storage(not recommended for Production)|no|true|
|onsible_tower.install.penshift.pg_pvc_name|Persistent Volume Claim to be used for PostgreSQL storage|no|postgresql|
|ansible_tower.install.openshift.pg_pvc_name|Persistent Volume Claim to be used for PostgreSQL storage|no|postgresql|
|ansible_tower.install.openshift.pg_pvc_size|Size of PVC that's going to be created for PostgreSQL storage|no|10Gi|
|ansible_tower.install.openshift.pg_pvc_wait_retries|How many attempts should have been taken on PVC readiness check|no|5|
|ansible_tower.install.openshift.pg_pvc_wait_delay|The delay between each attempt on making PVC readiness check (in seconds)|no|30|
Expand Down