From e69f40d39da728ec7589a244b3749559bfc3db1e Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Tue, 12 Nov 2024 21:49:34 +0100 Subject: ipam --- ansible/group_vars/all/ipam.yml | 20 ++++++++++++-------- ansible/plays/ipam-generate-dns.yml | 2 ++ ansible/plays/ipam-generate-tf.yml | 2 ++ 3 files changed, 16 insertions(+), 8 deletions(-) (limited to 'ansible') diff --git a/ansible/group_vars/all/ipam.yml b/ansible/group_vars/all/ipam.yml index 54fc444..4948235 100644 --- a/ansible/group_vars/all/ipam.yml +++ b/ansible/group_vars/all/ipam.yml @@ -31,6 +31,10 @@ ipam6: coregonus: "fdb1:4242:3538:2005::ffff" coregonus_docker: range: "fdb1:4242:3538:2005:df01:676a:ec28:0a00/120" + kv24_pub: + range: "2a01:799:111d:1801::/64" + hosts: + homeassistant: "2a01:799:111d:1801:e0d7:757e:4080:a508/64" kv24_dn42: range: "fdb1:4242:3538:2006::/64" hosts: @@ -49,14 +53,14 @@ ipam6: danneri: "fdb1:4242:3538:2008:9422:d355:95b7:f170" unifi: "fdb1:4242:3538:2008:5054:ff:fe4d:96c" - k8s: - range: "fdb1:4242:3538:3000::/52" - danneri_cluster: - range: "fdb1:4242:3538:3009::/112" - danneri_service: - range: "fdb1:4242:3538:300a::/100" - danneri_service2: - range: "fdb1:4242:3538:300a::/112" +# k8s: +# range: "fdb1:4242:3538:3000::/52" +# danneri_cluster: +# range: "fdb1:4242:3538:3009::/112" +# danneri_service: +# range: "fdb1:4242:3538:300a::/100" +# danneri_service2: +# range: "fdb1:4242:3538:300a::/112" dn42: range: "fd00::/8" diff --git a/ansible/plays/ipam-generate-dns.yml b/ansible/plays/ipam-generate-dns.yml index d29b3e8..25f8087 100644 --- a/ansible/plays/ipam-generate-dns.yml +++ b/ansible/plays/ipam-generate-dns.yml @@ -1,6 +1,8 @@ - hosts: localhost gather_facts: no connection: local + vars_files: + - ../group_vars/all/ipam.yml tasks: - set_fact: content: | diff --git a/ansible/plays/ipam-generate-tf.yml b/ansible/plays/ipam-generate-tf.yml index 209b8ab..d9888b4 100644 --- a/ansible/plays/ipam-generate-tf.yml +++ b/ansible/plays/ipam-generate-tf.yml @@ -1,6 +1,8 @@ - hosts: localhost gather_facts: no connection: local + vars_files: + - ../group_vars/all/ipam.yml collections: - ansible.utils tasks: -- cgit v1.2.3