--- - name: Start rsyslog service: name: rsyslog state: started enabled: true - name: Restart rsyslog service: name: rsyslog state: restarted