From 6789ad3b07faeac7f8e62fa265ee2a7650f489ae Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Fri, 20 Sep 2024 22:01:24 +0200 Subject: danneri --- ansible/plays/danneri.yml | 9 +++++++++ ansible/plays/files/danneri/systemd-networkd/enp1s0.network | 6 ------ ansible/plays/templates/danneri/systemd-networkd/enp1s0.network | 2 +- 3 files changed, 10 insertions(+), 7 deletions(-) delete mode 100644 ansible/plays/files/danneri/systemd-networkd/enp1s0.network (limited to 'ansible') 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 }} -- cgit v1.2.3