diff --git a/roles/dns/master_handlers/default/main.yml b/roles/dns/master_handlers/default/main.yml new file mode 100644 index 0000000..4b6d74d --- /dev/null +++ b/roles/dns/master_handlers/default/main.yml @@ -0,0 +1,4 @@ +--- + +# domain: example.com +# domain_environment_directory diff --git a/roles/dns/master_handlers/handlers/main.yml b/roles/dns/master_handlers/handlers/main.yml new file mode 100644 index 0000000..bc63c91 --- /dev/null +++ b/roles/dns/master_handlers/handlers/main.yml @@ -0,0 +1,6 @@ +--- + +- name: reconfigure zone {{ domain }} + make: + chdir: "{{ domain_environment_directory }}" + notify: reload bind9 diff --git a/roles/dns/master_handlers/meta/main.yml b/roles/dns/master_handlers/meta/main.yml new file mode 100644 index 0000000..4c1ee30 --- /dev/null +++ b/roles/dns/master_handlers/meta/main.yml @@ -0,0 +1,6 @@ +--- + +allow_duplicates: yes + +dependencies: + - dns/handlers