feat: add custom dns server support (#1199)

* feat: add custom dns server support

Signed-off-by: Devin Buhl <devin@buhl.casa>

* fix: jinja tmpl

Signed-off-by: Devin Buhl <devin@buhl.casa>

---------

Signed-off-by: Devin Buhl <devin@buhl.casa>
This commit is contained in:
Devin Buhl authored and GitHub committed 2024-01-19 07:22:21 -05:00
1 parent eed4faa9e6
commit 79d849f0ac
11 files changed
+22 -3

No files matched your search

+6
View File
@@ -103,6 +103,12 @@
success_msg: Kube API address {{ bootstrap_kube_api_addr }} is within {{ bootstrap_node_cidr }}.
fail_msg: Kube API address {{ bootstrap_kube_api_addr }} is not within {{ bootstrap_node_cidr }}.
- name: Check if DNS server is ipv4
ansible.builtin.assert:
that: bootstrap_dns_server is ansible.utils.ipv4
success_msg: DNS server {{ bootstrap_dns_server }} is valid.
fail_msg: DNS server {{ bootstrap_dns_server }} is invalid.
- name: Check if all IP addresses are unique
ansible.builtin.assert:
that: >