2022-05-13 19:25:56 -05:00
|
|
|
- hosts: localhost
|
|
|
|
vars_files:
|
2022-05-13 20:43:59 -05:00
|
|
|
- "vars/{{ ansible_facts['os_family'] }}.yaml"
|
2022-05-13 19:25:56 -05:00
|
|
|
vars:
|
|
|
|
services:
|
|
|
|
- nginx
|
|
|
|
- postgresql
|
|
|
|
- redis
|
|
|
|
roles:
|
|
|
|
- { role: certificates }
|
|
|
|
|
2021-10-25 21:32:35 -05:00
|
|
|
- hosts: all
|
|
|
|
vars_files:
|
2022-05-13 20:43:59 -05:00
|
|
|
- "vars/{{ ansible_facts['os_family'] }}.yaml"
|
2021-10-25 21:32:35 -05:00
|
|
|
roles:
|
|
|
|
- { role: common, become=yes, become_user=root }
|
|
|
|
|
|
|
|
- hosts: postgresql
|
|
|
|
vars_files:
|
2022-05-13 20:43:59 -05:00
|
|
|
- "vars/{{ ansible_facts['os_family'] }}.yaml"
|
2021-10-25 21:32:35 -05:00
|
|
|
roles:
|
|
|
|
- { role: postgresql, become=yes, become_user=root }
|
|
|
|
|
|
|
|
- hosts: redis
|
|
|
|
vars_files:
|
2022-05-13 20:43:59 -05:00
|
|
|
- "vars/{{ ansible_facts['os_family'] }}.yaml"
|
2021-10-25 21:32:35 -05:00
|
|
|
roles:
|
|
|
|
- { role: redis, become=yes, become_user=root }
|
|
|
|
|
2022-05-13 19:25:56 -05:00
|
|
|
- hosts: nextcloud
|
|
|
|
vars_files:
|
2022-05-13 20:43:59 -05:00
|
|
|
- "vars/{{ ansible_facts['os_family'] }}.yaml"
|
2022-05-13 19:25:56 -05:00
|
|
|
roles:
|
|
|
|
- { role: nextcloud, become=yes, become_user=root }
|
|
|
|
|
2022-05-14 00:14:16 -05:00
|
|
|
- hosts: coolwsd
|
2021-10-25 21:32:35 -05:00
|
|
|
vars_files:
|
2022-05-13 20:43:59 -05:00
|
|
|
- "vars/{{ ansible_facts['os_family'] }}.yaml"
|
2021-10-25 21:32:35 -05:00
|
|
|
roles:
|
2022-05-14 00:14:16 -05:00
|
|
|
- { role: coolwsd, become=yes, become_user=root }
|
2021-10-25 21:32:35 -05:00
|
|
|
|
2022-05-13 19:25:56 -05:00
|
|
|
|