diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2024-09-20 22:01:24 +0200 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2024-09-28 08:16:42 +0200 |
commit | 6789ad3b07faeac7f8e62fa265ee2a7650f489ae (patch) | |
tree | 8873668211cf800c99d6b2852d0d7849a0052f5f /ansible | |
parent | 964f85acd5a4a8dd420793bb42b44569cdd61002 (diff) | |
download | infra-6789ad3b07faeac7f8e62fa265ee2a7650f489ae.tar.gz infra-6789ad3b07faeac7f8e62fa265ee2a7650f489ae.tar.bz2 infra-6789ad3b07faeac7f8e62fa265ee2a7650f489ae.tar.xz infra-6789ad3b07faeac7f8e62fa265ee2a7650f489ae.zip |
danneri
Diffstat (limited to 'ansible')
-rw-r--r-- | ansible/plays/danneri.yml | 9 | ||||
-rw-r--r-- | ansible/plays/files/danneri/systemd-networkd/enp1s0.network | 6 | ||||
-rw-r--r-- | ansible/plays/templates/danneri/systemd-networkd/enp1s0.network | 2 |
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 }} |