aboutsummaryrefslogtreecommitdiff
path: root/ansible
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2024-09-17 20:45:45 +0200
committerTrygve Laugstøl <trygvis@inamo.no>2024-09-17 20:45:45 +0200
commit0ce711ed34b46940edc970e1d20a38218347c463 (patch)
treef79f6fff8dfe727d6edcb5d8e9c23b1306f02351 /ansible
parent3832accbe548e8bec76e5a54bff13d6670cc40af (diff)
downloadinfra-0ce711ed34b46940edc970e1d20a38218347c463.tar.gz
infra-0ce711ed34b46940edc970e1d20a38218347c463.tar.bz2
infra-0ce711ed34b46940edc970e1d20a38218347c463.tar.xz
infra-0ce711ed34b46940edc970e1d20a38218347c463.zip
danneri
Diffstat (limited to 'ansible')
-rw-r--r--ansible/group_vars/all/ipam.yml1
-rw-r--r--ansible/plays/templates/danneri/systemd-networkd/enp1s0.netdev1
-rw-r--r--ansible/plays/templates/danneri/systemd-networkd/enp1s0.network9
3 files changed, 9 insertions, 2 deletions
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 }}