ansible/playbooks/systemd_link.yml

41 lines
1,001 B
YAML
Executable file

#!/usr/bin/env ansible-playbook
---
- hosts:
- edge-1.rtr.infra.auro.re
- edge-2.rtr.infra.auro.re
vars:
systemd_link__hosts:
edge-1.rtr.infra.auro.re:
adm0:
mac: 02:00:00:9E:3E:21
crans0:
mac: 02:00:00:A2:7C:68
zayo0:
mac: 02:00:00:35:89:82
rezel0:
mac: 02:00:00:8F:4A:AD
backbone0:
mac: 02:00:00:1C:3A:2E
viarezo0:
mac: 02:00:00:ED:70:64
router0:
mac: 02:00:00:5A:17:7C
edge-2.rtr.infra.auro.re:
adm0:
mac: 04:00:00:F5:69:B9
crans0:
mac: 04:00:00:CF:E1:D0
zayo0:
mac: 04:00:00:67:7B:12
rezel0:
mac: 04:00:00:C6:05:B7
backbone0:
mac: 04:00:00:DE:22:E6
viarezo0:
mac: 04:00:00:45:FA:E6
router0:
mac: 04:00:00:AD:D7:71
systemd_link__links: "{{ systemd_link__hosts[inventory_hostname] }}"
roles:
- systemd_link
...