mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-04-25 19:11:24 +08:00
basessh: adjust for package names in rhel8beta
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
@@ -33,6 +33,17 @@
|
||||
- config
|
||||
- sshd
|
||||
- selinux
|
||||
when: ansible_distribution_major_version|int != 8
|
||||
|
||||
- name: make sure libselinux-python is installed
|
||||
package: name=python3-libselinux state=present
|
||||
tags:
|
||||
- basessh
|
||||
- sshd_config
|
||||
- config
|
||||
- sshd
|
||||
- selinux
|
||||
when: ansible_distribution_major_version|int == 8
|
||||
|
||||
- name: check if sshd port is already known by selinux
|
||||
shell: semanage port -l | grep ssh
|
||||
|
||||
Reference in New Issue
Block a user