22 lines
342 B
YAML
22 lines
342 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
|