portal: extrac portal-bridge setup to new playbook

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2024-07-02 11:20:31 +02:00
parent e2c8ce0175
commit 4be597d182
No known key found for this signature in database
GPG Key ID: FE65CD384D5BF7B4
2 changed files with 19 additions and 8 deletions

View File

@ -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 }

19
ansible/portal.yml Normal file
View File

@ -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 }