Merge branch 'master' of tpiccioli/ansible-roles into master

This commit is contained in:
Tommaso Piccioli 2019-07-10 13:14:31 +02:00 committed by Gitea
commit 28583188eb
2 changed files with 6 additions and 1 deletions

View File

@ -16,4 +16,5 @@ unbound_prefetch: 'yes'
unbound_verbosity: 1 unbound_verbosity: 1
unbound_threads: '{{ ansible_processor_count }}' unbound_threads: '{{ ansible_processor_count }}'
unbound_remote_control: 'no' unbound_remote_control: 'yes'
unbound_remote_IP: '127.0.0.1'

View File

@ -1,2 +1,6 @@
remote-control: remote-control:
control-enable: {{ unbound_remote_control }} control-enable: {{ unbound_remote_control }}
{% if unbound_remote_IP is defined %}
control-interface: '{{ unbound_remote_IP }}'
{% endif %}