Check equality properly

master
Aaron Raimist 3 years ago
parent 3dd0517f04
commit 8827a49e21
No known key found for this signature in database
GPG Key ID: 37419210002890EF

@ -12,7 +12,7 @@
msg: "You are running on Ansible {{ ansible_version.string }}, which is not supported. See our guide about Ansible: https://github.com/spantaleev/matrix-docker-ansible-deploy/blob/master/docs/ansible.md"
when:
- ansible_distribution == 'Ubuntu'
- "ansible_version.major = 2 and ansible_version.major == 9 and ansible_version.minor = 6"
- "ansible_version.major == 2 and ansible_version.major == 9 and ansible_version.minor == 6"
- name: (Deprecation) Catch and report renamed settings
fail:

Loading…
Cancel
Save