community.general.selinux_permissive – Change permissive domain in SELinux policy
Note
This plugin is part of the community.general collection (version 3.8.3).
You might already have this collection installed if you are using the ansible
package.
It is not included in ansible-core
.
To check whether it is installed, run ansible-galaxy collection list
.
To install it, use: ansible-galaxy collection install community.general
.
To use it in a playbook, specify: community.general.selinux_permissive
.
Requirements
The below requirements are needed on the host that executes this module.
policycoreutils-python
Parameters
Parameter |
Comments |
---|---|
The domain that will be added or removed from the list of permissive domains. Default: “” |
|
Disable reloading of the SELinux policy after making change to a domain’s permissive setting. The default is Reloading the policy does not work on older versions of the Choices:
|
|
Indicate if the domain should or should not be set as permissive. Choices:
|
|
Name of the SELinux policy store to use. |
Examples
- name: Change the httpd_t domain to permissive
community.general.selinux_permissive:
name: httpd_t
permissive: true
Authors
Michael Scherer (@mscherer) <misc@zarb.org>