add capability to disable systemd-resolved to base_config role
All checks were successful
/ Ansible Lint (push) Successful in 2m28s
/ Ansible Lint (pull_request) Successful in 2m24s

This commit is contained in:
lilly 2026-04-30 23:12:08 +02:00
commit 58ced1a85e
Signed by: lilly
SSH key fingerprint: SHA256:y9T5GFw2A20WVklhetIxG1+kcg/Ce0shnQmbu1LQ37g
9 changed files with 131 additions and 0 deletions

View file

@ -0,0 +1,11 @@
# {{ ansible_managed }}
{% for i in deploy_systemd_resolved_config__dns %}
nameserver {{ i }}
{% endfor %}
{% for i in deploy_systemd_resolved_config__fallback_dns %}
nameserver {{ i }}
{% endfor %}
options edns0

View file

@ -0,0 +1,11 @@
# {{ ansible_managed }}
# Since the config supports drop-in files,
# use 'systemd-analyze cat-config systemd/resolved.conf' to display the full config.'
#
# See resolved.conf(5) for details
[Resolve]
DNS={{ deploy_systemd_resolved_config__dns | join(" ") }}
FallbackDNS={{ deploy_systemd_resolved_config__fallback_dns | join(" ") }}