infra-nimbus/ansible/fluffy.yml

30 lines
763 B
YAML
Raw Normal View History

---
- 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 Fluffy nodes
become: true
hosts:
- nimbus.fluffy
roles:
# Extra 32 IPv4 addresses for each of the nodes on the host.
- { role: update-netplan, tags: update-netplan }
- { role: infra-role-open-ports, tags: open-ports }
- { role: infra-role-smart-metrics, tags: smart-metrics }
tasks:
- include_role:
name: infra-role-nimbus-fluffy
apply:
tags: always
tags: [ nimbus-fluffy ]
with_sequence: start=1 end=32
loop_control:
loop_var: index