35 lines
988 B
YAML
35 lines
988 B
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 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
|