diff options
author | Michal Ptacek <m.ptacek@partner.samsung.com> | 2019-05-29 13:31:03 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-05-29 13:31:03 +0000 |
commit | 6fdcd7d9bd8b4395180d8cbd6c6aa936e50dba76 (patch) | |
tree | 95e225246d0d6bc39f84b1ba327a14ff4cfff32d /ansible/roles/nexus | |
parent | 5b5c804c08cb49f03685cc3602f5eda1999185f2 (diff) | |
parent | 2353ca7b38acbd7246adbf23b7d92723bc083dcf (diff) |
Merge changes from topic "OOM-1816"
* changes:
Molecule test for infrastructure playbook.
Add the prepare-package-repository role
Add prepare-nexus role
Add prepare-nginx role
Add the prepare-dns role
Add prepare-vncserver role
Allow unsafe writes when modifying resolv.conf
Add nexus_come_up_wait_retries variable to nexus role
Remove docker restart condition from docker role
Diffstat (limited to 'ansible/roles/nexus')
-rw-r--r-- | ansible/roles/nexus/defaults/main.yml | 1 | ||||
-rw-r--r-- | ansible/roles/nexus/tasks/install.yml | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/ansible/roles/nexus/defaults/main.yml b/ansible/roles/nexus/defaults/main.yml index 92089e9a..8f636979 100644 --- a/ansible/roles/nexus/defaults/main.yml +++ b/ansible/roles/nexus/defaults/main.yml @@ -1,4 +1,5 @@ --- +nexus_come_up_wait_retries: 30 # By default prepopulated nexus binary blob used. populate_nexus: false # By dafault no additional docker images pushed to nexus at runtime 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 |