Member-only story
Enable or Disable SELinux Boolean on Linux — Ansible module seboolean
How to automate the enabling of the “httpd_use_nfs” SELinux boolean and make it persistent after a reboot on Linux with Ansible.
How to Enable or Disable SELinux Boolean on Linux with Ansible?
I’m going to show you a live demo with some simple Ansible code.
I’m Luca Berton and welcome to today’s episode of Ansible Pilot.
SELinux Booleans
- SELinux boolean — changes how SELinux reacts
What is SELinux?
Security-Enhanced Linux (SELinux) is a Linux kernel security module that provides a mechanism for supporting access control security policies, including mandatory access controls (MAC).
What are SELinux Booleans?
An SELinux boolean is a single string that changes how SELinux reacts.
You could find some examples in the following URL: https://wiki.centos.org/TipsAndTricks/SelinuxBooleans