57 lines
946 B
YAML
57 lines
946 B
YAML
# vim: ft=yaml.ansible
|
|
# code: language=ansible
|
|
---
|
|
# - 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
|