lab-ansible/site.yml
2023-11-13 21:17:17 +01:00

29 lines
444 B
YAML

# vim: ft=yaml.ansible
# code: language=ansible
---
- name: Base VM configuration
hosts: virtualservers
remote_user: root
roles:
- vm-common
- name: App servers
hosts: appservers
remote_user: ansible
roles:
- docker
- apps
- name: Database servers
hosts: dbservers
remote_user: ansible
roles:
- postgresql
- name: Proxy servers
hosts: proxyservers
remote_user: ansible
roles:
- docker
- proxy