19 lines
449 B
YAML
19 lines
449 B
YAML
- import_tasks: 01-dependencies.yml
|
|
- import_tasks: 02-backup.yml
|
|
- import_tasks: 03-configure.yml
|
|
|
|
- block:
|
|
- name: Reload rndc
|
|
shell: rndc freeze && rndc reload && rndc thaw
|
|
|
|
- include_tasks: 04-test-changes.yml
|
|
with_items: "{{bind9_zones}}"
|
|
loop_control:
|
|
loop_var: zone
|
|
|
|
rescue:
|
|
- import_tasks: 05-rollback.yml
|
|
when: not bind9_initial_setup
|
|
|
|
- name: Reload rndc
|
|
shell: rndc freeze && rndc reload && rndc thaw |