2020-01-22 23:40:12 +01:00
|
|
|
---
|
|
|
|
title: selinux
|
|
|
|
type: docs
|
|
|
|
---
|
|
|
|
|
2022-06-20 22:40:15 +02:00
|
|
|
[![Source Code](https://img.shields.io/badge/gitea-source%20code-blue?logo=gitea&logoColor=white)](https://gitea.rknet.org/ansible/xoxys.selinux) [![Build Status](https://img.shields.io/drone/build/ansible/xoxys.selinux?logo=drone&server=https%3A%2F%2Fdrone.rknet.org)](https://drone.rknet.org/ansible/xoxys.selinux) [![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](https://gitea.rknet.org/ansible/xoxys.selinux/src/branch/main/LICENSE)
|
2020-01-31 11:41:40 +01:00
|
|
|
|
|
|
|
Configure selinux.
|
2020-01-22 23:40:12 +01:00
|
|
|
|
2022-06-20 22:40:15 +02:00
|
|
|
<!--more-->
|
|
|
|
|
2022-03-03 21:33:49 +01:00
|
|
|
- [Default Variables](#default-variables)
|
|
|
|
- [selinux_packages](#selinux_packages)
|
|
|
|
- [selinux_policy](#selinux_policy)
|
|
|
|
- [selinux_state](#selinux_state)
|
|
|
|
- [Dependencies](#dependencies)
|
2020-01-22 23:40:12 +01:00
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
## Default Variables
|
|
|
|
|
|
|
|
### selinux_packages
|
|
|
|
|
2022-01-26 22:54:02 +01:00
|
|
|
The default packages depend on the OS version.
|
2020-01-22 23:40:12 +01:00
|
|
|
|
|
|
|
### selinux_policy
|
|
|
|
|
|
|
|
#### Default value
|
|
|
|
|
|
|
|
```YAML
|
|
|
|
selinux_policy: targeted
|
|
|
|
```
|
|
|
|
|
|
|
|
### selinux_state
|
|
|
|
|
|
|
|
#### Default value
|
|
|
|
|
|
|
|
```YAML
|
|
|
|
selinux_state: '{{ ansible_selinux.config_mode }}'
|
|
|
|
```
|
|
|
|
|
2022-03-03 21:33:49 +01:00
|
|
|
|
|
|
|
|
2020-01-22 23:40:12 +01:00
|
|
|
## Dependencies
|
|
|
|
|
|
|
|
None.
|