main.yml 341 B

1234567891011121314
  1. ---
  2. - name: Start nagios-nrpe-server
  3. service: name=nagios-nrpe-server state=started
  4. - name: Stop nagios-nrpe-server
  5. service: name=nagios-nrpe-server state=stoped
  6. - name: Reload nagios-nrpe-server
  7. service: name=nagios-nrpe-server state=reloaded
  8. - name: Restart nagios-nrpe-server
  9. service: name=nagios-nrpe-server state=restarted