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