Technik/Routing/Labornetz/etc/ansible/Tinc.yaml

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
---
- hosts: Tinc
  gather_facts: no
  roles:
    - role: tinc
      _varsfile: ffdota.yaml
      _phase: stage
      when: inventory_hostname in groups['ffdota']
    - role: tinc
      _varsfile: ffdotb.yaml
      _phase: stage
      when: inventory_hostname in groups['ffdotb']
    - role: tinc
      _phase: install
      when: tinc_install