Capturing APC automation

This commit is contained in:
DarkFeather 2024-04-01 00:49:36 -05:00
parent 87973dfb6e
commit 3a01543c8b
Signed by: DarkFeather
GPG Key ID: 1CC1E3F4ED06F296
2 changed files with 14 additions and 1 deletions

View File

@ -0,0 +1,14 @@
---
- 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

View File

@ -36,7 +36,6 @@
- include_tasks: intel.yml
when: "'Intel' in ansible_processor"
- include_tasks: cyberpower.yml
when: "ups == 'cyberpower'"