Gather more detailed selinux information

Only selinux mode has been logged out, this patch makes the role
gather more information about selinux.

Change-Id: I18a8de354c6a7aa39d53c91f610089ce88224d40
This commit is contained in:
Martin Kopec
2020-04-30 09:32:30 +00:00
parent f87408a8f0
commit 45cce74537

View File

@@ -197,7 +197,9 @@ artcl_commands:
repolist:
cmd: "{{ ansible_pkg_mgr }} repolist -v"
selinux:
cmd: /usr/sbin/getenforce
cmd: |
/usr/sbin/sestatus -v
/usr/sbin/sestatus -b
installed_crons:
cmd: |
for user in $(cut -f1 -d':' /etc/passwd); do