basessh: adjust for package names in rhel8beta
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
parent
a45be3147b
commit
abff8931f9
1 changed files with 11 additions and 0 deletions
|
@ -33,6 +33,17 @@
|
||||||
- config
|
- config
|
||||||
- sshd
|
- sshd
|
||||||
- selinux
|
- 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
|
- name: check if sshd port is already known by selinux
|
||||||
shell: semanage port -l | grep ssh
|
shell: semanage port -l | grep ssh
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue