Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #389 : Replace check with Ansible version comparison #395

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

james-flynn-ie
Copy link

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 Azure-Samples/ansible-playbooks#88, which depends on this role.

Previous String check was broken when 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.
@TheTechOddBug
Copy link

Please https://twitter.com/Azure, review and approve!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

keyvault_create.yml: azure_preview_modules reports Ansible version < 2.5.0, when version is 2.10.9
2 participants