Ansible SELinux: Manage Modes, Booleans & Contexts (Complete Guide) — Video Tutorial
How to automate the enabling or disabling of SELinux Permissive policy per single process or domain keeping the whole system under enforcing policy and make it persistent after a reboot on Linux with Ansible.
Watch Video
Watch "Ansible SELinux: Manage Modes, Booleans & Contexts (Complete Guide)" on YouTube
What You'll Learn
- SELinux Permissive Domain
- What is SELinux?
- What is SELinux Permissive Domain?
- Ansible Enable or Disable Permissive Domain in SELinux policy
- Parameters
- Links
- code
- execution
- idempotency
- before execution
Full Tutorial Content
About This Tutorial
- Author: Luca Berton
- Difficulty: Beginner
- Read time: 4 min
- Category: installation
Read the full written article: Ansible SELinux: Manage Modes, Booleans & Contexts (Complete Guide)
Topics Covered
Related Video Tutorials
- Ansible seboolean Module: Enable & Disable SELinux Booleans (Guide) — How to manage SELinux booleans with Ansible seboolean module. Enable, disable, and persist SELinux boolean settings. List available booleans. Practical YAML playbook examples for Linux security.
- Ansible SELinux Module: Set Policy, State & Mode on Linux (Guide) — How to manage SELinux with Ansible selinux module (ansible.posix.selinux). Set enforcing, permissive, disabled modes. Configure SELinux policies. Practical YAML playbook examples.
- Ansible code in RHSB-2021-009 Log4Shell - Remote Code Execution - log4j (CVE-2021-44228) — Learn how my Ansible Playbook was featured in Red Hat Security Bulletin RHSB-2021-009 to address the Log4Shell vulnerability (CVE-2021-44228). Discover the playbook and its role in mitigating security risks.
- Automate CIS Benchmark Hardening for RHEL 9 with Ansible — Discover how to automate CIS Benchmark hardening for RHEL 9 systems using Ansible. Simplify security compliance with the "ansible-lockdown" project for efficient, effective protection.
- Strengthening Security: Automating CIS Benchmark Hardening for RHEL 9 with Ansible — Automate CIS Benchmark hardening for RHEL 9 using Ansible with the Ansible Lockdown roles, ensuring robust security configurations across systems.
- Configuring Kernel Parameters in RedHat-like Linux Systems with Ansible System Role — Learn how to configure kernel parameters in RedHat-like Linux systems using the Ansible System Role. Follow our live Playbook example for efficient system management.