From 4be597d182e9db90f3a7139892ce4e98747fb687 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Soko=C5=82owski?= Date: Tue, 2 Jul 2024 11:20:31 +0200 Subject: [PATCH] portal: extrac portal-bridge setup to new playbook MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jakub SokoĊ‚owski --- ansible/fluffy.yml | 8 -------- ansible/portal.yml | 19 +++++++++++++++++++ 2 files changed, 19 insertions(+), 8 deletions(-) create mode 100644 ansible/portal.yml diff --git a/ansible/fluffy.yml b/ansible/fluffy.yml index 65483e3..fe64a17 100644 --- a/ansible/fluffy.yml +++ b/ansible/fluffy.yml @@ -22,11 +22,3 @@ with_sequence: start=1 end=32 loop_control: loop_var: index - -- name: Configure Nimbus Portal Bridge - become: true - vars_files: portal-bridge.yml - hosts: - - metal-01.ih-eu-mda1.nimbus.fluffy - roles: - - { role: infra-role-portal-bridge, tags: portal-bridge } diff --git a/ansible/portal.yml b/ansible/portal.yml new file mode 100644 index 0000000..05f8f0f --- /dev/null +++ b/ansible/portal.yml @@ -0,0 +1,19 @@ +--- +- name: verify ansible versions + hosts: all + tags: always + become: false + run_once: true + gather_facts: false + tasks: + - local_action: command ./roles.py --check + changed_when: false + +- name: Configure Nimbus Portal Bridge + become: true + vars_files: portal-bridge.yml + hosts: + - metal-01.ih-eu-mda1.nimbus.fluffy + roles: + - { role: infra-role-nimbus-fluffy, tags: nimbus-fluffy } + - { role: infra-role-portal-bridge, tags: portal-bridge }