Kapisi/roles/hardware/tasks/apc.yml

15 lines
221 B
YAML

---
- name: Install APC software
become: yes
package:
name: apcupsd
state: present
- name: Start APC service
become: yes
service:
name: apcupsd.service
state: started
enabled: yes