summaryrefslogtreecommitdiffstats
path: root/ansible/roles/nexus/tasks
diff options
context:
space:
mode:
authorMichal Zegan <m.zegan@samsung.com>2019-05-27 13:51:41 +0200
committerMichal Ptacek <m.ptacek@partner.samsung.com>2019-05-29 10:43:01 +0000
commit50651c1e6cab765bb1148607fc00588fd576970b (patch)
tree618cb409d79da72e6ef2882c66b9d74bcd6ef540 /ansible/roles/nexus/tasks
parent63257979874f88942fd1a4cb215b57991e23a0d4 (diff)
Add nexus_come_up_wait_retries variable to nexus role
This variable is used to set the number of retries when waiting for nexus to be running. It may occassionally be useful to increase it on slower test environments. Change-Id: Id34106dd8f9a8b2b1949b80adb22fbec3df71e23 Issue-ID: OOM-1816 Signed-off-by: Samuli Silvius <s.silvius@partner.samsung.com> Signed-off-by: Michal Zegan <m.zegan@samsung.com>
Diffstat (limited to 'ansible/roles/nexus/tasks')
-rw-r--r--ansible/roles/nexus/tasks/install.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/ansible/roles/nexus/tasks/install.yml b/ansible/roles/nexus/tasks/install.yml
index f8de5e95..c88e5855 100644
--- a/ansible/roles/nexus/tasks/install.yml
+++ b/ansible/roles/nexus/tasks/install.yml
@@ -36,7 +36,7 @@
password: admin123
force_basic_auth: true
method: GET
- retries: 30
+ retries: "{{ nexus_come_up_wait_retries }}"
delay: 10
register: nexus_wait
until: not nexus_wait.failed