main.yml 320 B

1234567891011121314151617181920
  1. ---
  2. - name: reload_named
  3. service:
  4. name: named
  5. enabled: yes
  6. state: reloaded
  7. - name: restart_dhcpd
  8. service:
  9. name: dhcpd
  10. enabled: yes
  11. state: restarted
  12. - name: restart_bastion_dnsmasq
  13. delegate_to: bastion.lab.example.com
  14. service:
  15. name: dnsmasq
  16. enabled: yes
  17. state: restarted
  18. ...