Version compare error
sspreitzer opened this issue · comments
Hi Timo
We would like to use your SSSD module at the Paul Scherrer Institute. We are using AWX/Ansible Tower to invoke your module. However we run into a problem in your version compare.
ansible-sssd/tasks/install-pkgs.yml
Line 7 in 29f0c8b
The error is;
TASK [timorunge.sssd : Install SSSD packages] **********************************
fatal: [rhel-8-client-2.psi.ch]: FAILED! => {"msg": "Version comparison: '<' not supported between instances of 'str' and 'int'"}
Hope you can help.
Thank you
Sascha
The Ansible version Ansible Tower/AWX uses is 2.9.5
Maybe related to ansible/ansible#35435
@sspreitzer, which version of Python are you using? Even if 2.7 is EOL soon please give it a try.
Afaik latest awx uses Python3 in version 3.6
See #6