--- - import_tasks: install.yml when: - services.bind.enable is defined - services.bind.enable is true - import_tasks: configure.yml when: - services.bind.enable is defined - services.bind.enable is true - import_tasks: firewall.yml when: - services.bind.enable is defined - services.bind.enable is true - network.nftables.enable is true - import_tasks: start.yml when: - services.bind.enable is defined - services.bind.enable is true - import_tasks: remove.yml when: - services.bind.enable is defined - services.bind.enable is false - meta: flush_handlers