#!/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(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