lab-ansible/site.yml

22 lines
342 B
YAML
Raw Normal View History

2023-10-28 23:49:29 +00:00
# vim: ft=yaml.ansible
2023-10-29 19:46:52 +00:00
# code: language=ansible
2023-10-28 23:49:29 +00:00
---
2023-11-12 17:31:45 +00:00
- name: Base VM configuration
2023-11-12 15:03:21 +00:00
hosts: virtualservers
2023-10-28 23:49:29 +00:00
remote_user: root
roles:
2023-11-12 15:03:21 +00:00
- vm-common
2023-11-12 17:31:45 +00:00
- name: App servers
hosts: appservers
remote_user: ansible
roles:
- docker
- apps
- name: Database servers
hosts: dbservers
remote_user: ansible
roles:
- postgresql