fix core infra dns

This commit is contained in:
ace 2024-05-06 03:00:19 +03:00
parent 7e508f906f
commit 5d57ca8dce
Signed by: ace
GPG Key ID: 2C08973DD37A76FD

View File

@ -35,7 +35,9 @@
- name: Deploy Internal DNS
import_role:
name: internal-dns
when: internal_dns_enabled | default(true)
when:
- internal_dns_enabled | default(true)
- domain is defined
tags:
- internal-dns
- dns
@ -43,7 +45,9 @@
- name: Deploy Local DNS
import_role:
name: local-dns
when: local_dns_enabled | default(true)
when:
- local_dns_enabled | default(true)
- local_domain is defined
tags:
- local-dns
- dns
@ -51,7 +55,9 @@
- name: Deploy Service DNS
import_role:
name: service-dns
when: service_dns_enabled | default(true)
when:
- service_dns_enabled | default(true)
- domain is defined
tags:
- service-dns
- dns