Updated the role to include optional tests after running it, ensuring that DNS resolution is correctly configured. The code has been refactored to improve readability and maintainability.
5 lines
93 B
Django/Jinja
5 lines
93 B
Django/Jinja
search {{ dns_search }}
|
|
{% for server in dns_servers %}
|
|
nameserver {{ server }}
|
|
{% endfor %}
|