ansible.builtin.selinux_permissive (v2.5.6) — module

Change permissive domain in SELinux policy

| "added in version" 2.0 of ansible.builtin"

Authors: Michael Scherer <misc@zarb.org>

preview | supported by community

Install Ansible via pip

Install with pip install ansible==2.5.6

Description

Add and remove domain from the list of permissive domain.


Requirements

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- selinux_permissive:
    name: httpd_t
    permissive: true

Inputs

    
store:
    default: null
    description:
    - name of the SELinux policy store to use
    required: false

domain:
    description:
    - the domain that will be added or removed from the list of permissive domains
    required: true

no_reload:
    choices:
    - 'True'
    - 'False'
    default: false
    description:
    - automatically reload the policy after a change
    - default is set to 'false' as that's what most people would want after changing one
      domain
    - Note that this doesn't work on older version of the library (example EL 6), the
      module will silently ignore it in this case
    required: false

permissive:
    choices:
    - 'True'
    - 'False'
    description:
    - indicate if the domain should or should not be set as permissive
    required: true