--- - name: restart ssh service: name=ssh state=restarted - name: Reload systemd daemons shell: systemctl daemon-reload