main.yml 303 B

123456789101112
  1. ---
  2. - name: Ensure unbound is installed
  3. apt: name=unbound
  4. - name: Install unbound configuration
  5. template: src=unbound.conf.j2 dest=/etc/unbound/unbound.conf.d/supernode.conf
  6. notify: Restart unbound
  7. - name: Ensure unbound is enabled
  8. service: name=unbound enabled=yes
  9. notify: Restart unbound