f83d00bcaa
Ahora, en vars/RedHat.yaml, solo hay variables relevantes para instalaciones hechas en distribuciones basadas en Red Hat. También hice algunos cambios de nombre de variable para estandarizar. Removí algunas variables duplicadas de redis.
59 lines
1.1 KiB
YAML
59 lines
1.1 KiB
YAML
- hosts: localhost
|
|
vars_files:
|
|
- vars/main.mixtli.yaml
|
|
- "vars/{{ ansible_facts['os_family'] }}.yaml"
|
|
vars:
|
|
services:
|
|
- nginx
|
|
- postgresql
|
|
- redis
|
|
roles:
|
|
- name: certificates
|
|
|
|
- hosts: all
|
|
vars_files:
|
|
- vars/main.mixtli.yaml
|
|
- "vars/{{ ansible_facts['os_family'] }}.yaml"
|
|
roles:
|
|
- name: common
|
|
|
|
- hosts: postgresql
|
|
vars_files:
|
|
- vars/main.mixtli.yaml
|
|
- "vars/{{ ansible_facts['os_family'] }}.yaml"
|
|
roles:
|
|
- name: postgresql
|
|
|
|
- hosts: redis
|
|
vars_files:
|
|
- vars/main.mixtli.yaml
|
|
- "vars/{{ ansible_facts['os_family'] }}.yaml"
|
|
roles:
|
|
- name: redis
|
|
|
|
- hosts: coolwsd
|
|
vars_files:
|
|
- vars/main.mixtli.yaml
|
|
- "vars/{{ ansible_facts['os_family'] }}.yaml"
|
|
roles:
|
|
- name: coolwsd
|
|
|
|
- hosts: nextcloud
|
|
vars_files:
|
|
- vars/main.mixtli.yaml
|
|
- "vars/{{ ansible_facts['os_family'] }}.yaml"
|
|
roles:
|
|
- name: nextcloud
|
|
- name: coolwsd-nginx
|
|
- name: nextcloud-spreed
|
|
|
|
- hosts: turn
|
|
vars_files:
|
|
- vars/main.mixtli.yaml
|
|
- "vars/{{ ansible_facts['os_family'] }}.yaml"
|
|
roles:
|
|
- name: turn
|
|
- name: nats-server
|
|
- name: signaling-server
|
|
- name: janus
|
|
|