From 0ce711ed34b46940edc970e1d20a38218347c463 Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Tue, 17 Sep 2024 20:45:45 +0200 Subject: danneri --- ansible/group_vars/all/ipam.yml | 1 + ansible/plays/templates/danneri/systemd-networkd/enp1s0.netdev | 1 - ansible/plays/templates/danneri/systemd-networkd/enp1s0.network | 9 ++++++++- 3 files changed, 9 insertions(+), 2 deletions(-) delete mode 100644 ansible/plays/templates/danneri/systemd-networkd/enp1s0.netdev diff --git a/ansible/group_vars/all/ipam.yml b/ansible/group_vars/all/ipam.yml index d9c49b4..6c61600 100644 --- a/ansible/group_vars/all/ipam.yml +++ b/ansible/group_vars/all/ipam.yml @@ -29,6 +29,7 @@ ipam6: range: "fdb1:4242:3538:2005::/64" hosts: coregonus-ix: "fdb1:4242:3538:2005::ffff/64" + danneri: "fdb1:4242:3538:2005:9422:d355:95b7:f170" coregonus_docker: range: "fdb1:4242:3538:2005:df01:676a:ec28:0a00/120" kv24_dn42: diff --git a/ansible/plays/templates/danneri/systemd-networkd/enp1s0.netdev b/ansible/plays/templates/danneri/systemd-networkd/enp1s0.netdev deleted file mode 100644 index 1e0ca6a..0000000 --- a/ansible/plays/templates/danneri/systemd-networkd/enp1s0.netdev +++ /dev/null @@ -1 +0,0 @@ -# diff --git a/ansible/plays/templates/danneri/systemd-networkd/enp1s0.network b/ansible/plays/templates/danneri/systemd-networkd/enp1s0.network index 1e0ca6a..a4c84ee 100644 --- a/ansible/plays/templates/danneri/systemd-networkd/enp1s0.network +++ b/ansible/plays/templates/danneri/systemd-networkd/enp1s0.network @@ -1 +1,8 @@ -# +[Match] +Name=enp1s0 + +[Network] +DHCP=ipv4 + +[IPv6AcceptRA] +Token=static:{{ ipam6.networks.coregonus_dn42.hosts.danneri }} -- cgit v1.2.3