ansible/playbooks/systemd_link.yml
2023-04-05 00:18:25 +02:00

193 lines
4.8 KiB
YAML
Executable file

#!/usr/bin/env ansible-playbook
---
- hosts:
- edge-1.back.infra.auro.re
- edge-2.back.infra.auro.re
- ssh-1.mgmt.infra.auro.re
- ssh-2.mgmt.infra.auro.re
- dns-1.int.infra.auro.re
- dns-2.int.infra.auro.re
- infra-1.back.infra.auro.re
- infra-2.back.infra.auro.re
- isp-1.back.infra.auro.re
- isp-2.back.infra.auro.re
- dhcp-1.isp.infra.auro.re
- dhcp-2.isp.infra.auro.re
- radius-1.isp.infra.auro.re
- radius-2.isp.infra.auro.re
- ldap-1.int.infra.auro.re
- ldap-2.int.infra.auro.re
- ntp-1.int.infra.auro.re
- ntp-2.int.infra.auro.re
- prometheus-1.monit.infra.auro.re
- prometheus-2.monit.infra.auro.re
vars:
systemd_link__hosts:
edge-1.back.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
back0:
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.back.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
back0:
mac: 04:00:00:DE:22:E6
viarezo0:
mac: 04:00:00:45:FA:E6
router0:
mac: 04:00:00:AD:D7:71
ssh-1.mgmt.infra.auro.re:
adm0:
mac: 02:00:00:a3:49:20
pub0:
mac: 02:00:00:27:ea:9d
mgmt0:
mac: 02:00:00:0f:ac:75
ssh-2.mgmt.infra.auro.re:
adm0:
mac: 04:00:00:98:c2:10
pub0:
mac: 04:00:00:65:cc:52
mgmt0:
mac: 04:00:00:3c:67:08
dns-1.int.infra.auro.re:
adm0:
mac: 02:00:00:6c:4b:89
int0:
mac: 02:00:00:9f:d9:f9
dns-2.int.infra.auro.re:
adm0:
mac: 04:00:00:2a:6e:be
int0:
mac: 04:00:00:3c:c0:5a
infra-1.back.infra.auro.re:
adm0:
mac: 02:00:00:f0:8a:dd
back0:
mac: 02:00:00:f8:93:22
monit0:
mac: 02:00:00:da:97:7f
wifi0:
mac: 02:00:00:8c:c5:bf
int0:
mac: 02:00:00:75:40:3e
pub0:
mac: 02:00:00:ca:e8:d1
bmc0:
mac: 02:00:00:47:d1:b9
pve0:
mac: 02:00:00:b3:35:e7
isp0:
mac: 02:00:00:6b:53:14
mgmt0:
mac: 02:00:00:32:86:60
infra-2.back.infra.auro.re:
adm0:
mac: 04:00:00:d3:03:53
back0:
mac: 04:00:00:46:ba:f9
monit0:
mac: 04:00:00:72:0b:2d
wifi0:
mac: 04:00:00:ee:42:0f
int0:
mac: 04:00:00:21:fd:d0
pub0:
mac: 04:00:00:2e:5b:16
bmc0:
mac: 04:00:00:bb:5a:a6
pve0:
mac: 04:00:00:0b:2b:82
isp0:
mac: 04:00:00:f4:4c:5d
mgmt0:
mac: 04:00:00:1d:0e:83
isp-1.back.infra.auro.re:
adm0:
mac: 02:00:00:D8:37:45
back0:
mac: 02:00:00:BF:10:4C
trunk0:
mac: 02:00:00:E9:BA:15
isp-2.back.infra.auro.re:
adm0:
mac: 04:00:00:85:C3:5D
back0:
mac: 04:00:00:FE:2D:67
trunk0:
mac: 04:00:00:D8:F5:4D
dhcp-1.isp.infra.auro.re:
adm0:
mac: 02:00:00:17:61:5b
isp0:
mac: 02:00:00:c6:3f:6f
trunk0:
mac: 02:00:00:b1:8d:d6
dhcp-2.isp.infra.auro.re:
adm0:
mac: 04:00:00:0c:f1:42
isp0:
mac: 04:00:00:8c:d1:36
trunk0:
mac: 04:00:00:33:2c:3c
radius-1.isp.infra.auro.re:
adm0:
mac: 02:00:00:4f:35:12
isp0:
mac: 02:00:00:6a:3e:f4
radius-2.isp.infra.auro.re:
adm0:
mac: 04:00:00:96:54:a6
isp0:
mac: 04:00:00:29:6d:c9
ldap-1.int.infra.auro.re:
adm0:
mac: 02:00:00:38:c2:52
int0:
mac: 02:00:00:fe:a8:54
ldap-2.int.infra.auro.re:
adm0:
mac: 04:00:00:f7:1c:47
int0:
mac: 04:00:00:e4:83:d2
ntp-1.int.infra.auro.re:
adm0:
mac: 02:00:00:e0:26:2e
int0:
mac: 02:00:00:74:71:83
ntp-2.int.infra.auro.re:
adm0:
mac: 04:00:00:08:83:2b
int0:
mac: 04:00:00:31:be:50
prometheus-1.monit.infra.auro.re:
adm0:
mac: 02:00:00:66:33:9d
monit0:
mac: 02:00:00:a8:6b:51
prometheus-2.monit.infra.auro.re:
adm0:
mac: 04:00:00:3d:c6:a1
monit0:
mac: 04:00:00:a6:93:5a
systemd_link__links: "{{ systemd_link__hosts[inventory_hostname] }}"
roles:
- systemd_link
...