Check equality properly

This commit is contained in:
Aaron Raimist 2020-12-26 20:20:00 -06:00
parent 3dd0517f04
commit 8827a49e21
No known key found for this signature in database
GPG Key ID: 37419210002890EF

View File

@ -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: