main.yml 445 B

1234567891011121314151617181920
  1. ---
  2. - name: restart NetworkManager
  3. systemd:
  4. name: NetworkManager
  5. state: restarted
  6. enabled: True
  7. when:
  8. - (not skip_node_svc_handlers | default(False) | bool)
  9. - name: restart dnsmasq
  10. systemd:
  11. name: dnsmasq
  12. state: restarted
  13. when:
  14. - (not skip_node_svc_handlers | default(False) | bool)
  15. - name: reload systemd units
  16. command: systemctl daemon-reload
  17. when:
  18. - (not skip_node_svc_handlers | default(False) | bool)