summaryrefslogtreecommitdiffstats
path: root/roles/openshift_hosted/tasks
diff options
context:
space:
mode:
authorRussell Teague <rteague@redhat.com>2017-09-12 15:01:38 -0400
committerRussell Teague <rteague@redhat.com>2017-09-12 15:13:01 -0400
commitd10f1cdd7baa26f9ce0e5fba1e7599cf07505aa1 (patch)
tree4ad1d3dcd91dc4364b8cfe48b004c9d1a179d154 /roles/openshift_hosted/tasks
parenta77f2ffdd0b1f37de2877a63511d8682ab4362bc (diff)
downloadopenshift-d10f1cdd7baa26f9ce0e5fba1e7599cf07505aa1.tar.gz
openshift-d10f1cdd7baa26f9ce0e5fba1e7599cf07505aa1.tar.bz2
openshift-d10f1cdd7baa26f9ce0e5fba1e7599cf07505aa1.tar.xz
openshift-d10f1cdd7baa26f9ce0e5fba1e7599cf07505aa1.zip
Correct logic for openshift_hosted_*_wait
Diffstat (limited to 'roles/openshift_hosted/tasks')
-rw-r--r--roles/openshift_hosted/tasks/registry/registry.yml2
-rw-r--r--roles/openshift_hosted/tasks/router/router.yml2
2 files changed, 2 insertions, 2 deletions
diff --git a/roles/openshift_hosted/tasks/registry/registry.yml b/roles/openshift_hosted/tasks/registry/registry.yml
index 3badede96..48f53aef8 100644
--- a/roles/openshift_hosted/tasks/registry/registry.yml
+++ b/roles/openshift_hosted/tasks/registry/registry.yml
@@ -137,7 +137,7 @@
edits: "{{ openshift_hosted_registry_edits }}"
force: "{{ True|bool in openshift_hosted_registry_force }}"
-- when: openshift_hosted_registry_wait == True
+- when: openshift_hosted_registry_wait | bool
block:
- name: Ensure OpenShift registry correctly rolls out (best-effort today)
command: |
diff --git a/roles/openshift_hosted/tasks/router/router.yml b/roles/openshift_hosted/tasks/router/router.yml
index 08bf31515..2a42b5a7c 100644
--- a/roles/openshift_hosted/tasks/router/router.yml
+++ b/roles/openshift_hosted/tasks/router/router.yml
@@ -94,7 +94,7 @@
stats_port: "{{ item.stats_port }}"
with_items: "{{ openshift_hosted_routers }}"
-- when: openshift_hosted_router_wait == True
+- when: openshift_hosted_router_wait | bool
block:
- name: Ensure OpenShift router correctly rolls out (best-effort today)
command: |