main.yml 389 B

123456
  1. ---
  2. - name: restart networking
  3. shell: systemctl restart networking; if systemctl -q is-active isc-dhcp-server; then systemctl restart isc-dhcp-server; fi; if systemctl -q is-active kea-dhcp4.service; then systemctl restart kea-dhcp4.service; fi; if systemctl -q is-active tunneldigger; then systemctl restart tunneldigger; fi
  4. - name: restart fastd
  5. service: name=fastd state=restarted