diff --git a/roles/unbound/tasks/main.yml b/roles/unbound/tasks/main.yml index 8bde73f127..e1172b99e3 100644 --- a/roles/unbound/tasks/main.yml +++ b/roles/unbound/tasks/main.yml @@ -4,12 +4,7 @@ - unbound - name: install unbound config - copy: src={{ item }} dest=/etc/unbound/unbound.conf mode=644 - with_first_found: - - "{{ unbound.conf }}" - - unbound.conf.{{ ansible_fqdn }}-stg - - unbound.conf.{{ datacenter }} - - unbound.conf.{{ ansible_fqdn }} + copy: src=unbound.conf dest=/etc/unbound/unbound.conf mode=644 notify: - restart unbound