- name: Restart snmpd service: name: "{{ service_name }}" state: restarted