summaryrefslogtreecommitdiffstats
path: root/roles/openshift_management/tasks
diff options
context:
space:
mode:
authorElad Alfassa <ealfassa@redhat.com>2017-12-04 16:49:12 +0200
committerElad Alfassa <ealfassa@redhat.com>2017-12-04 17:51:18 +0200
commitb72517f9e84921d2b6cb1685d08f3b6f8ea088f3 (patch)
treef6e85392d9ac2eccded2138cbcd93e3b9ba87cf6 /roles/openshift_management/tasks
parentb62ec2d2e587e55efca930c7919dfe31d3d45edb (diff)
downloadopenshift-b72517f9e84921d2b6cb1685d08f3b6f8ea088f3.tar.gz
openshift-b72517f9e84921d2b6cb1685d08f3b6f8ea088f3.tar.bz2
openshift-b72517f9e84921d2b6cb1685d08f3b6f8ea088f3.tar.xz
openshift-b72517f9e84921d2b6cb1685d08f3b6f8ea088f3.zip
Allow number of retries in openshift_management to be configurable
Diffstat (limited to 'roles/openshift_management/tasks')
-rw-r--r--roles/openshift_management/tasks/main.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/roles/openshift_management/tasks/main.yml b/roles/openshift_management/tasks/main.yml
index 9be923a57..3bade9e8c 100644
--- a/roles/openshift_management/tasks/main.yml
+++ b/roles/openshift_management/tasks/main.yml
@@ -88,9 +88,9 @@
create: True
params: "{{ openshift_management_template_parameters }}"
-- name: Wait for the app to come up. May take several minutes, 30s check intervals, 10m max
+- name: Wait for the app to come up. May take several minutes, 30s check intervals, {{ openshift_management_pod_rollout_retries }} retries
command: "oc logs {{ openshift_management_flavor }}-0 -n {{ openshift_management_project }}"
register: app_seeding_logs
until: app_seeding_logs.stdout.find('Server starting complete') != -1
delay: 30
- retries: 20
+ retries: "{{ openshift_management_pod_rollout_retries }}"