mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-07-01 12:32:12 +00:00
Disabled SELinux Checks
This commit is contained in:
parent
ae254943a6
commit
a50a9ba545
1 changed files with 17 additions and 17 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue