- name: restart snmpd systemd: name: snmpd state: restarted