mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-07-02 01:27:27 -04:00
tweak installer
fix issue with selinux on Fedora
This commit is contained in:
@ -349,7 +349,7 @@
|
||||
tags:
|
||||
- "Fedora"
|
||||
|
||||
- name: Update SELinux config (Fedora)
|
||||
- name: Set SELinux config to permissive (Fedora)
|
||||
lineinfile:
|
||||
path: /etc/selinux/config
|
||||
regexp: '^SELINUX='
|
||||
@ -358,6 +358,12 @@
|
||||
tags:
|
||||
- "Fedora"
|
||||
|
||||
- name: Set SELinux to permissive (Fedora)
|
||||
command: "setenforce Permissive"
|
||||
when: ansible_distribution in ["Fedora"]
|
||||
tags:
|
||||
- "Fedora"
|
||||
|
||||
- name: Stop Resolved (Fedora, Ubuntu)
|
||||
service:
|
||||
name: systemd-resolved
|
||||
@ -436,7 +442,7 @@
|
||||
|
||||
- name: Restart SSH (All)
|
||||
service:
|
||||
name: "{{ 'sshd' if ansible_distribution in ['Debian', 'openSUSE Tumbleweed'] else 'ssh' }}"
|
||||
name: "{{ 'sshd' if ansible_distribution in ['Debian', 'Fedora', 'openSUSE Tumbleweed'] else 'ssh' }}"
|
||||
state: restarted
|
||||
enabled: true
|
||||
when: ansible_distribution in ["Debian", "Fedora", "openSUSE Tumbleweed", "Ubuntu"]
|
||||
|
Reference in New Issue
Block a user