Disabled SELinux Checks

This commit is contained in:
Nikolay Ryagin 2025-03-13 23:36:33 +03:00
parent ae254943a6
commit a50a9ba545
No known key found for this signature in database
GPG key ID: CBE2C4552EC48FAF

View file

@ -545,24 +545,24 @@
- "Fedora"
- "Rocky"
- name: Set SELinux config to permissive (AlmaLinux, Fedora, Rocky)
lineinfile:
path: /etc/selinux/config
regexp: '^SELINUX='
line: 'SELINUX=permissive'
when: ansible_distribution in ["AlmaLinux", "Fedora", "Rocky"]
tags:
- "AlmaLinux"
- "Fedora"
- "Rocky"
#- name: Set SELinux config to permissive (AlmaLinux, Fedora, Rocky)
# lineinfile:
# path: /etc/selinux/config
# regexp: '^SELINUX='
# line: 'SELINUX=permissive'
# when: ansible_distribution in ["AlmaLinux", "Fedora", "Rocky"]
# tags:
# - "AlmaLinux"
# - "Fedora"
# - "Rocky"
- name: Set SELinux to permissive (AlmaLinux, Fedora, Rocky)
command: "setenforce Permissive"
when: ansible_distribution in ["AlmaLinux", "Fedora", "Rocky"]
tags:
- "AlmaLinux"
- "Fedora"
- "Rocky"
#- name: Set SELinux to permissive (AlmaLinux, Fedora, Rocky)
# command: "setenforce Permissive"
# when: ansible_distribution in ["AlmaLinux", "Fedora", "Rocky"]
# tags:
# - "AlmaLinux"
# - "Fedora"
# - "Rocky"
- name: Stop Resolved (Fedora, Ubuntu)
service: