63 lines
1 KiB
YAML
63 lines
1 KiB
YAML
# vim: ft=yaml.ansible
|
|
# code: language=ansible
|
|
---
|
|
- name: Proxmox servers
|
|
hosts: proxmox_infra
|
|
remote_user: root
|
|
roles:
|
|
- pve-common
|
|
|
|
# - name: Control servers
|
|
# hosts: control_infra
|
|
# remote_user: root
|
|
# roles:
|
|
# - ctl-common
|
|
|
|
- name: Base configuration
|
|
hosts: virtualservers
|
|
remote_user: ansible
|
|
become: true
|
|
roles:
|
|
- virt-common
|
|
|
|
- name: Docker hosts
|
|
hosts: appservers:proxyservers:monitorservers
|
|
become: true
|
|
roles:
|
|
- docker
|
|
|
|
- name: Application servers
|
|
hosts: appservers
|
|
remote_user: ansible
|
|
become: true
|
|
roles:
|
|
- apps
|
|
|
|
# - name: Media servers
|
|
# hosts: mediaservers
|
|
# remote_user: ansible
|
|
# become: true
|
|
# roles:
|
|
# - jellyfin
|
|
|
|
- name: Database servers
|
|
hosts: dbservers
|
|
remote_user: ansible
|
|
become: true
|
|
roles:
|
|
- postgresql
|
|
|
|
# - name: Monitoring servers
|
|
# hosts: monitorservers
|
|
# remote_user: ansible
|
|
# become: true
|
|
# roles:
|
|
# - monitoring
|
|
|
|
- name: Proxy servers
|
|
hosts: proxyservers
|
|
remote_user: ansible
|
|
become: true
|
|
roles:
|
|
- proxy
|