#!/usr/bin/ansible-playbook # vim:ft=ansible: --- - name: restart snmpd systemd: name: snmpd state: restarted become: yes