---
- name: Restart apcupsd
  systemd:
    name: apcupsd
    state: restarted