Oefenweb / ansible-fail2ban

Ansible role to set up fail2ban in Debian-like systems
MIT License
117 stars 55 forks source link

Version comparison failed: ''<'' not supported between instances of ''str'' and ''int''' #81

Open mmehnert opened 4 months ago

mmehnert commented 4 months ago

When running the role against a debian/testing machine I get the following error: ` msg: 'AnsibleError: An unhandled exception occurred while templating ''{{ ''INFO'' if (ansible_distribution == ''Ubuntu'' and ansible_distribution_major_version is version(''16'', ''>='') or ansible_distribution == ''Debian'' and ansible_distribution_major_version is version(''9'', ''>='')) else 3 }}''. Error was a <class ''ansible.errors.AnsibleFilterError''>, original message: Version comparison failed: ''<'' not supported between instances of ''str'' and ''int'''

` running

` tasks:

msg: Debian n/a