--- - name: Bind9 Server Setup hosts: bind tasks: - name: Performing APT cache update and package upgrade apt: upgrade: yes update_cache: yes cache_valid_time: 86400 - name: Verifying dependencies ansible.builtin.package: name: - bind9 - bind9-utils - bind9-dnsutils - software-properties-common - net-tools - mlocate - vim state: latest