Implement a workaround for missing SELinux support in the official RPM

https://github.com/czerwonk/ping_exporter/issues/152
This commit is contained in:
Alexander Gorelyshev
2026-06-30 21:06:01 +04:00
parent b794461e20
commit 9e052eb769

View File

@@ -50,3 +50,10 @@
owner: ping_exporter
group: root
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