This commit is contained in:
2024-06-14 10:38:25 +08:00
commit 133692dcb4
9 changed files with 159 additions and 0 deletions

15
install-systemd-oomd.yaml Normal file
View File

@@ -0,0 +1,15 @@
- name: Install ipmi-from IPFS gateway
hosts: all
become: yes
user: root
tasks:
- name: Ensure systemd-oomd is installed
apt:
name: systemd-oomd
state: present
- name: Ensure systemd-oomd service is enabled and started
systemd:
name: systemd-oomd
enabled: yes
state: started