unixadm.selinux

 

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 Success version string

modules

semodule_compile - build selinux modules

Synopsis

compile and package selinux modules

Parameters
Parameter Choices/Defaults Description
module
(string)
required
Path to the selinux module source file (.te)

semodule_install - installs selinux modules

Synopsis

install selinux module

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