basessh: adjust for package names in rhel8beta

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi 2019-02-12 22:14:49 +00:00
parent a45be3147b
commit abff8931f9

View file

@ -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