removed unneeded stuff
This commit is contained in:
@@ -11,12 +11,4 @@
|
||||
validate: "{{ named_checkconf }} {{ named_conf_options }}"
|
||||
loop:
|
||||
- { regexp: '^\s*listen-on {(?:[\s\n]*(?:\d{1,3}\.){3}\d{1,3};)*[\s\n]*};', option: "\tlisten-on { {{ ansible_default_ipv4.address }}; };"}
|
||||
- { regexp: '^\s*listen-on-v6 {(?:[\s\n]*(?:[\da-f:]*;)*[\s\n]*};', option: "\tlisten-on-v6 { {{ ansible_default_ipv6.address }}; };"}
|
||||
|
||||
|
||||
lineinfile:
|
||||
path: "{{ named_conf_options }}"
|
||||
regexp: "{{ item.regexp }}"
|
||||
state: present
|
||||
line: "{{ item.option }}"
|
||||
insertafter: "options {"
|
||||
- { regexp: '^\s*listen-on-v6 {(?:[\s\n]*(?:[\da-f:]*;)*[\s\n]*};', option: "\tlisten-on-v6 { {{ ansible_default_ipv6.address }}; };"}
|
||||
Reference in New Issue
Block a user