serverbee.selinux_custom_module
Rola customowego modułu SELinux
Ta rola instaluje customowe moduły SELinux i ustawia SELinux w trybie egzekwowania.
Zmienne
Ogólne
selinux_config_dir: [domyślnie:/etc/selinux]: Katalog, w którym będą przechowywane wszystkie pliki modułów SELinux z tej roli
Ustawienia customowych modułów SELinux
selinux_custom_modules: [domyślnie:{}]: Deklaracje modułów SELinuxselinux_custom_modules.key: [wymagane]: Identyfikator modułu (np.first-custom-module:)selinux_custom_modules.key.value: [wymagane]: Deklaracja kodu źródłowego customowych modułów SELinux
Zależności
Brak
Przykład
---
- host: localhost
roles:
- serverbee.selinux_custom_module
vars:
selinux_custom_modules:
first-custom-module: |
module first-custom-module 1.0;
require {
type myapp_t;
type myapp_port_t;
class tcp_socket name_bind;
}
allow myapp_t myapp_port_t:tcp_socket name_bind;
Licencja
Licencja GPLv3
Informacje o autorze
Bohdan Saienko
Zainstaluj
ansible-galaxy install serverbee.selinux_custom_moduleLicencja
Unknown
Pobrania
1.3k
Właściciel
