diff --git a/gate/dns.yml b/gate/dns.yml index 7db1e2b..8c428e7 100644 --- a/gate/dns.yml +++ b/gate/dns.yml @@ -1,9 +1,11 @@ --- - name: Install unbound - apt: name={{ item }} state=installed update_cache=true - with_items: - - unbound - - unbound-host + apt: + name: + - unbound + - unbound-host + state: present + update_cache: true - name: Download the list of Root DNS Server get_url: @@ -29,4 +31,4 @@ owner: unbound group: unbound recurse: yes - \ No newline at end of file +