Код: Выделить всё
- name: Set SELinux
include_tasks: set-SELinux-level.yml
args:
apply:
become: true
Код: Выделить всё
- name: Put SELinux into permissive
ansible.posix.selinux:
policy: targeted
state: "permissive"
Это, например, /bin/setenforce 0?
RHEL 9, Python3.12
Подробнее здесь: https://stackoverflow.com/questions/793 ... ementation
Мобильная версия