summaryrefslogtreecommitdiffstats
path: root/ansible/infrastructure.yml
diff options
context:
space:
mode:
authorSamuli Silvius <s.silvius@partner.samsung.com>2019-02-13 11:00:39 +0200
committerSamuli Silvius <s.silvius@partner.samsung.com>2019-03-04 19:09:57 +0200
commitf6f5fc4fdba4cb36f600d9f13c65ca27ec003b89 (patch)
tree554350f081f30dc5fe32abe4ab4ae34f7c7a669c /ansible/infrastructure.yml
parent3313c854585836ec97b72e2ff82d9ed4bf4ed710 (diff)
Re-factor nexus role to streamline playbook
Move nexus functionality into nexus role from infrastructure playbook. This will make role easier to test and make it easier to implement other OS support later. Issue-ID: OOM-1653 Change-Id: I1af2bfef5aa4d6c7b819f5fc40f95c6e8303598c Signed-off-by: Samuli Silvius <s.silvius@partner.samsung.com>
Diffstat (limited to 'ansible/infrastructure.yml')
-rw-r--r--ansible/infrastructure.yml28
1 files changed, 1 insertions, 27 deletions
diff --git a/ansible/infrastructure.yml b/ansible/infrastructure.yml
index e4715a9c..fd30c482 100644
--- a/ansible/infrastructure.yml
+++ b/ansible/infrastructure.yml
@@ -34,34 +34,8 @@
- docker
- dns
- vncserver
- - role: nexus
- vars:
- phase: install
- nginx
- tasks:
- - name: "wait for nexus to come up"
- uri:
- url: "{{ nexus_url }}/service/metrics/healthcheck"
- user: admin
- password: admin123
- force_basic_auth: yes
- method: GET
- register: nexus_wait
- until: not nexus_wait.failed
- retries: 30
- delay: 10
-
-- name: Nexus changes in runtime
- hosts: infrastructure
- roles:
- - role: nexus
- vars:
- phase: configure
- when: populate_nexus | bool
- - role: nexus
- vars:
- phase: runtime-populate
- when: runtime_images is defined and runtime_images is not none
+ - nexus
- name: Setup base for Kubernetes nodes
hosts: kubernetes