basessh: simplify when conditional
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
parent
08c3a9ad0b
commit
88e27098a3
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@
|
|||
- config
|
||||
- sshd
|
||||
- selinux
|
||||
when: ( ansible_distribution == 'Fedora' and ansible_distribution_major_version|int < 30 ) or ( ansible_distribution == 'RedHat' and ansible_distribution_major_version|int < 8 )
|
||||
when: ansible_distribution == 'RedHat' and ansible_distribution_major_version|int < 8
|
||||
|
||||
- name: make sure python3-libselinux is installed
|
||||
package: name=python3-libselinux state=present
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue