--- # handlers file for ansible-sdp - name: "restart_sendmail" service: name: "sendmail" state: "restarted" - name: "start_thp" command: "{{ item }}" with_items: - "systemctl start disable-thp" - "systemctl enable disable-thp" - name: "restart_sysctl" command: "sysctl -p" - name: "restart_networkd" command: "{{ item }}" with_items: - "systemctl daemon-reload" - "systemctl restart systemd-networkd" - "systemctl restart systemd-resolved"