From f6f5fc4fdba4cb36f600d9f13c65ca27ec003b89 Mon Sep 17 00:00:00 2001 From: Samuli Silvius Date: Wed, 13 Feb 2019 11:00:39 +0200 Subject: 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 --- ansible/infrastructure.yml | 28 +--------------------------- 1 file changed, 1 insertion(+), 27 deletions(-) (limited to 'ansible/infrastructure.yml') 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 -- cgit 1.2.3-korg