Add ACPI to Linux servers. Turnkey doesn't have it enabled by default.

This commit is contained in:
2022-08-29 06:50:49 -05:00
parent cfecb77605
commit 709714db04
4 changed files with 26 additions and 11 deletions

View File

@ -0,0 +1,20 @@
---
# Enable and disable services.
## ACPID ##
- name: Server | Software | Services | ACPID | Install
package:
name: "{{ acpi }}"
state: present
when: ansible_system == "Linux"
ignore_errors: yes
- name: Server | Software | Services | ACPID | Enable
service:
name: "{{ acpi }}"
pattern: "{{ acpi_pattern }}"
state: started
enabled: yes
when: ansible_system == "Linux"
ignore_errors: yes