copr-be: copr-ping: selinux issue #1, fix #2

This commit is contained in:
Pavel Raiskup 2021-08-10 10:37:38 +02:00
parent 76d3ead677
commit 2cda9ec28d

View file

@ -51,6 +51,12 @@
target: "{{ ping_log }}"
setype: nrpe_var_run_t
state: present
register: semanage_run
tags: copr_ping
- name: restorecon ping_log
shell: restorecon -irv "{{ ping_log }}"
when: semanage_run.changed
tags: copr_ping
- name: rebuild the copr-ping package periodically