---
- hosts: nas
  become: true
  vars_files:
    - "{{ inventory_dir }}/vars/vault.yaml"
  vars:
    ups_primary: gateway
    ntfy_url: https://ntfy.warchildstory.com
    ntfy_topic: "{{ vaulted_ntfy_topic }}"
  roles:
    - ups


- hosts: gateway
  become: true
  vars_files:
    - "{{ inventory_dir }}/vars/vault.yaml"
  vars:
    ntfy_url: https://ntfy.warchildstory.com
    ntfy_topic: "{{ vaulted_ntfy_topic }}"
  roles:
    - ups