mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-04-24 02:20:51 +08:00
copr-backend: disable swap
This commit is contained in:
@@ -223,3 +223,9 @@
|
||||
- name: install our custom selinux module
|
||||
command: semodule -i /usr/local/share/copr/copr_rules.pp
|
||||
when: selinux_module is changed
|
||||
|
||||
- name: disable swap so that OOM killer can do his job
|
||||
command: "{{ item }}"
|
||||
with_items:
|
||||
- swapoff -a
|
||||
- systemctl mask swap.target
|
||||
|
||||
Reference in New Issue
Block a user