azure_preview_modules
azure_preview_modules copied to clipboard
Fix #389 : Replace check with Ansible version comparison
Fix for #389. The String comparison method was broken when the Ansible version rolled over to 2.10.0, since it was comparing Strings rather than version numbers.
Ansible's version comparison function (https://docs.ansible.com/ansible/latest/user_guide/playbooks_tests.html#comparing-versions) fixes this issue.
Will also resolve https://github.com/Azure-Samples/ansible-playbooks/issues/88, which depends on this role.
Please https://twitter.com/Azure, review and approve!