ansible/plays/irc.yml

24 lines
668 B
YAML
Executable File

#!/usr/bin/env ansible-playbook
---
- hosts: thelounge
vars:
thelounge: '{{ glob_thelounge | default({}) | combine(loc_thelounge | default({})) }}'
roles:
- thelounge
- hosts: thelounge,!adh_server
vars:
certbot: '{{ loc_certbot | default(glob_certbot | default([])) }}'
nginx: '{{ glob_nginx | default({}) | combine(service_nginx | default({}) | combine(loc_nginx | default({}))) }}'
roles:
- certbot
- nginx
- hosts: irc
vars:
inspircd: "{{ glob_inspircd | default({}) | combine(loc_inspircd | default({})) }}"
anope: "{{ glob_anope | default({}) | combine(loc_anope | default({})) }}"
roles:
- inspircd
- anope