copr-backend: disable swap
This commit is contained in:
parent
056b1d909d
commit
ed7d2fd8cf
1 changed files with 6 additions and 0 deletions
|
@ -223,3 +223,9 @@
|
||||||
- name: install our custom selinux module
|
- name: install our custom selinux module
|
||||||
command: semodule -i /usr/local/share/copr/copr_rules.pp
|
command: semodule -i /usr/local/share/copr/copr_rules.pp
|
||||||
when: selinux_module is changed
|
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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue