unixadm.selinux

SELinux related plugins

Repository

https://git.unixadm.org/phil/ansible-collection-selinux

Plugins

module

semodule_compile - build selinux modules

Synopsis

compile and package selinux modules

Parameters
Parameter Choices/Defaults Description
filecontext
(str)
Path to the selinux file context (.fe)
module
(str)
required
Path to the selinux module source file (.te)

semodule_install - installs selinux modules

Synopsis

install selinux module

Parameters
Parameter Choices/Defaults Description
path
(str)
required
Path to the compiled selinux module file (.pp)
remote_src
(str)
Specify whether or not the selinux module is located on the target machine

filter

lookup

version - return this collection's version

Synopsis

Returns this collection's version

Examples
---
- assert:
    that: "lookup('unixadm.selinux.version') is version_compare('0.0.1', '>=')"
Return values
Key Returned Description
_raw
(str)
Success version string

inventory

test

Authors

  • Philippe Kueck <projects at unixadm dot org>

Licenses

GPL-2.0-only