#!/usr/bin/env ansible-playbook
---
- hosts: certbot:&wiki
  vars:
    certbot: "{{ loc_certbot | default(glob_certbot | default([])) }}"
  roles:
    - certbot

# Deploy MoinMoin Wiki
- hosts: wiki
  vars:
    moinmoin: "{{ glob_moinmoin | default({}) | combine(loc_moinmoin | default({})) }}"
    nginx: "{{ glob_nginx | default({}) | combine(loc_nginx | default({})) }}"
  roles:
    - moinmoin
    - nginx