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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user