diff --git a/tasks/main.yml b/tasks/main.yml index e8e346a..e808f42 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -7,7 +7,7 @@ - include: zones.yml tags: bind - + - name: enable and start bind9 service: name: bind9 diff --git a/tasks/zones.yml b/tasks/zones.yml index 515e6bf..9fcb8da 100644 --- a/tasks/zones.yml +++ b/tasks/zones.yml @@ -41,4 +41,3 @@ state: absent with_items: '{{ zone_folders.files }}' when: item.path|basename not in bind_zones or ('state' in bind_zones[item.path|basename] and bind_zones[item.path|basename].state == 'absent') -