Update resolvers role to add condition
This commit is contained in:
parent
30e5147587
commit
ea525cc23b
|
@ -23,6 +23,9 @@ All variables and default values are defined in `defaults/main.yml` :
|
||||||
# Domain to use in the DNS "search" resolver field
|
# Domain to use in the DNS "search" resolver field
|
||||||
main_domain: wirebrass.fr
|
main_domain: wirebrass.fr
|
||||||
|
|
||||||
|
# Set to true if you want to configure resolvers with Ansible
|
||||||
|
configure_resolvers: true
|
||||||
|
|
||||||
Dependencies
|
Dependencies
|
||||||
------------
|
------------
|
||||||
|
|
||||||
|
|
|
@ -10,3 +10,6 @@ resolvers:
|
||||||
|
|
||||||
# Domain to use in the DNS "search" resolver field
|
# Domain to use in the DNS "search" resolver field
|
||||||
main_domain: wirebrass.fr
|
main_domain: wirebrass.fr
|
||||||
|
|
||||||
|
# Set to true if you want to configure resolvers with Ansible
|
||||||
|
configure_resolvers: true
|
||||||
|
|
|
@ -2,3 +2,4 @@
|
||||||
# Main tasks file for client_resolvers
|
# Main tasks file for client_resolvers
|
||||||
|
|
||||||
- import_tasks: resolv_conf.yml
|
- import_tasks: resolv_conf.yml
|
||||||
|
when: configure_resolvers
|
||||||
|
|
Loading…
Reference in a new issue