ahuffman / ansible-fact

Infrastucture-as-Code in Reverse
9 stars 6 forks source link

selinux facts #17

Open ahuffman opened 5 years ago

ahuffman commented 5 years ago

Fact collector to present whether or not selinux is enabled, and status of sebool's

ahuffman commented 4 years ago
            "config_mode": "enforcing",
            "mode": "enforcing",
            "policyvers": 31,
            "status": "enabled",
            "type": "targeted"
        },
        "ansible_selinux_python_present": true,

Base functionality exists, but we would also want to have getsebool -a values represented as facts as well.

asquelt commented 4 years ago

i use this simple fact gatherer with success on client's site: https://gist.github.com/asquelt/774e3465b75a6b55c1b1b98def4ac2da