Implement a workaround for missing SELinux support in the official RPM
https://github.com/czerwonk/ping_exporter/issues/152
This commit is contained in:
@@ -50,3 +50,10 @@
|
|||||||
owner: ping_exporter
|
owner: ping_exporter
|
||||||
group: root
|
group: root
|
||||||
mode: "0644"
|
mode: "0644"
|
||||||
|
|
||||||
|
# a workaround for an issue reported here: https://github.com/czerwonk/ping_exporter/issues/152
|
||||||
|
- name: "Change `ping_t` SELinux domain to persmissive"
|
||||||
|
when: ansible_os_family == "RedHat"
|
||||||
|
community.general.selinux_permissive:
|
||||||
|
name: ping_t
|
||||||
|
permissive: true
|
||||||
|
|||||||
Reference in New Issue
Block a user