Loading defaults/main.yaml +1 −0 Original line number Diff line number Diff line Loading @@ -21,6 +21,7 @@ debian_repo_url_update: "http://deb.debian.org/debian" dns_search: "example.internal" dns_servers: - "192.168.10.1" dns_options: [] # firewall firewall_enable: true Loading readme.md +1 −0 Original line number Diff line number Diff line Loading @@ -22,6 +22,7 @@ Manage core Operating System components and system defaults. |----------------|----------|--------------------------|--------------------------------| | `dns_servers` | No | `["192.168.10.1"]` | List of DNS nameservers to use | | `dns_search` | No | `["example.internal"]` | List of search domains to use | | `dns_options` | No | `[]` | List of resolver options | ### NTP Configuration Loading templates/dns/resolve.conf.j2 +3 −0 Original line number Diff line number Diff line Loading @@ -4,3 +4,6 @@ nameserver {{ dns_server }} {% if "example" not in dns_search -%} search {{ dns_search }} {% endif %} {% if dns_options -%} options {{ dns_options | join(' ') }} {% endif %} Loading
defaults/main.yaml +1 −0 Original line number Diff line number Diff line Loading @@ -21,6 +21,7 @@ debian_repo_url_update: "http://deb.debian.org/debian" dns_search: "example.internal" dns_servers: - "192.168.10.1" dns_options: [] # firewall firewall_enable: true Loading
readme.md +1 −0 Original line number Diff line number Diff line Loading @@ -22,6 +22,7 @@ Manage core Operating System components and system defaults. |----------------|----------|--------------------------|--------------------------------| | `dns_servers` | No | `["192.168.10.1"]` | List of DNS nameservers to use | | `dns_search` | No | `["example.internal"]` | List of search domains to use | | `dns_options` | No | `[]` | List of resolver options | ### NTP Configuration Loading
templates/dns/resolve.conf.j2 +3 −0 Original line number Diff line number Diff line Loading @@ -4,3 +4,6 @@ nameserver {{ dns_server }} {% if "example" not in dns_search -%} search {{ dns_search }} {% endif %} {% if dns_options -%} options {{ dns_options | join(' ') }} {% endif %}