make sure we have libselinux-python here
This commit is contained in:
parent
077e8aa289
commit
ac481b9a2c
1 changed files with 9 additions and 0 deletions
|
@ -25,6 +25,15 @@
|
|||
- /root/.ssh/known_hosts
|
||||
when: birthday is defined
|
||||
|
||||
- name: make sure linselinux-python is installed
|
||||
package: name=libselinux-python state=present
|
||||
tags:
|
||||
- basessh
|
||||
- sshd_config
|
||||
- config
|
||||
- sshd
|
||||
- selinux
|
||||
|
||||
- name: check if sshd port is already known by selinux
|
||||
shell: semanage port -l | grep ssh
|
||||
register: sshd_selinux_port
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue