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

Change permissive domain in SELinux policy

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

Authors: Michael Scherer (@mscherer) <misc@zarb.org>

preview | supported by community

Install Ansible via pip

Install with pip install ansible==2.7.9

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:
    description:
    - name of the SELinux policy store to use

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

no_reload:
    default: 'no'
    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
    type: bool

permissive:
    description:
    - indicate if the domain should or should not be set as permissive
    required: true
    type: bool