Skip to content

Commit

Permalink
Set core file in DockerStatic role
Browse files Browse the repository at this point in the history
Signed-off-by: Stewart X Addison <sxa@redhat.com>
  • Loading branch information
sxa committed Feb 12, 2021
1 parent aed49ac commit 100b2d4
Showing 1 changed file with 16 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,3 +64,19 @@
command: docker run -p 2227:22 --cpus=2.0 --memory=6G --detach --name f33.2227 aqa_f33
tags: startcontainers
ignore_errors: yes

- name: Ensure core files are able to be created within docker containers
lineinfile:
path: /proc/sys/kernel/core_pattern
state: present
regexp: .
line: core.%p

- name: Ensure core files are able to be created within docker containers on reboot
lineinfile:
path: /etc/sysctl.conf
state: present
regexp: kernel_core_pattern
line: kernel.core_pattern = core.%p

- name: Ensure core files are able to be created within docker containers

0 comments on commit 100b2d4

Please sign in to comment.