aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ansible/plays/danneri.yml9
-rw-r--r--ansible/plays/files/danneri/systemd-networkd/enp1s0.network6
-rw-r--r--ansible/plays/templates/danneri/systemd-networkd/enp1s0.network2
3 files changed, 10 insertions, 7 deletions
diff --git a/ansible/plays/danneri.yml b/ansible/plays/danneri.yml
index 2e960ee..88d6412 100644
--- a/ansible/plays/danneri.yml
+++ b/ansible/plays/danneri.yml
@@ -12,3 +12,12 @@
- etckeeper
- import_role:
name: timezone
+
+ - become: yes
+ copy:
+ dest: /etc/rancher/k3s/config.yaml
+ content: |
+ tls-san:
+ - "{{ ipam6.networks.lhn2_dn42.hosts.danneri }}"
+ - "2a06:2240:f00d:b500:9422:d355:95b7:f170"
+
diff --git a/ansible/plays/files/danneri/systemd-networkd/enp1s0.network b/ansible/plays/files/danneri/systemd-networkd/enp1s0.network
deleted file mode 100644
index 7e12c2e..0000000
--- a/ansible/plays/files/danneri/systemd-networkd/enp1s0.network
+++ /dev/null
@@ -1,6 +0,0 @@
-[Match]
-Name=enp1s0
-
-[Network]
-DHCP=yes
-IPv6AcceptRA=true
diff --git a/ansible/plays/templates/danneri/systemd-networkd/enp1s0.network b/ansible/plays/templates/danneri/systemd-networkd/enp1s0.network
index a4c84ee..b38116c 100644
--- a/ansible/plays/templates/danneri/systemd-networkd/enp1s0.network
+++ b/ansible/plays/templates/danneri/systemd-networkd/enp1s0.network
@@ -5,4 +5,4 @@ Name=enp1s0
DHCP=ipv4
[IPv6AcceptRA]
-Token=static:{{ ipam6.networks.coregonus_dn42.hosts.danneri }}
+Token=static:{{ ipam6.networks.lhn2_dn42.hosts.danneri }}