Check equality properly
This commit is contained in:
parent
3dd0517f04
commit
8827a49e21
@ -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…
Reference in New Issue
Block a user