--- - name: restart rsyslogd service: name=rsyslog state=restarted sudo: True - name: restart ssh service: name=ssh state=restarted sudo: True