56 lines
1.5 KiB
YAML
56 lines
1.5 KiB
YAML
---
|
|
- name: setup internal infrastructure
|
|
hosts: internal
|
|
gather_facts: false
|
|
tasks:
|
|
- name: include security role
|
|
ansible.builtin.include_role:
|
|
name: nullified.infrastructure.security
|
|
- name: include common role
|
|
ansible.builtin.include_role:
|
|
name: nullified.infrastructure.common
|
|
|
|
- name: setup servers
|
|
hosts: internal:&server
|
|
tasks:
|
|
- name: include server role
|
|
ansible.builtin.include_role:
|
|
name: nullified.infrastructure.server
|
|
|
|
- name: setup vault
|
|
hosts: internal:&vault
|
|
tasks:
|
|
- name: include vault role
|
|
ansible.builtin.include_role:
|
|
name: nullified.infrastructure.vault
|
|
|
|
- name: setup mariadb servers
|
|
hosts: internal:&mariadb
|
|
tasks:
|
|
- name: include mariadb role
|
|
ansible.builtin.include_role:
|
|
name: nullified.infrastructure.mariadb
|
|
|
|
- name: setup workstations
|
|
hosts: internal:&workstation
|
|
tasks:
|
|
- name: include workstation role
|
|
ansible.builtin.include_role:
|
|
name: nullified.infrastructure.workstation
|
|
- name: include development role
|
|
ansible.builtin.include_role:
|
|
name: nullified.infrastructure.development
|
|
|
|
- name: setup gaming tools
|
|
hosts: internal:&gaming
|
|
tasks:
|
|
- name: include gaming role
|
|
ansible.builtin.include_role:
|
|
name: nullified.infrastructure.gaming
|
|
|
|
- name: install K3S
|
|
hosts: internal:&k3s
|
|
tasks:
|
|
- name: include k3s role
|
|
ansible.builtin.include_role:
|
|
name: nullified.infrastructure.k3s
|