copr: disable coredumps on builders
sometimes build start coredumping which may take down whole VM. We do not care about coredumps and they can be safely discareded
This commit is contained in:
parent
f8e10a48e3
commit
479df112c4
2 changed files with 8 additions and 0 deletions
|
@ -73,3 +73,8 @@
|
||||||
|
|
||||||
- lineinfile: dest=/etc/security/limits.conf line="* soft nofile 10240" insertafter=EOF
|
- lineinfile: dest=/etc/security/limits.conf line="* soft nofile 10240" insertafter=EOF
|
||||||
- lineinfile: dest=/etc/security/limits.conf line="* hard nofile 10240" insertafter=EOF
|
- lineinfile: dest=/etc/security/limits.conf line="* hard nofile 10240" insertafter=EOF
|
||||||
|
|
||||||
|
- name: disable core dumps
|
||||||
|
ini_file: dest=/etc/systemd/coredump.conf section=Coredump option=Storage value=none
|
||||||
|
notify:
|
||||||
|
- systemctl daemon-reload
|
||||||
|
|
|
@ -6,3 +6,6 @@
|
||||||
|
|
||||||
- name: restart logstash
|
- name: restart logstash
|
||||||
service: name=logstash state=restarted
|
service: name=logstash state=restarted
|
||||||
|
|
||||||
|
- name: systemctl daemon-reload
|
||||||
|
command: /usr/bin/systemctl daemon-reload
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue