add capability to disable systemd-resolved to base_config role
This commit is contained in:
parent
d9fc1ef401
commit
58ced1a85e
9 changed files with 131 additions and 0 deletions
|
|
@ -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
|
||||
|
|
@ -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(" ") }}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue