Fix Ansible 2.9.6 check

Fixup for https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/769
This commit is contained in:
Slavi Pantaleev 2021-01-03 08:55:30 +02:00
parent 2c09111a3a
commit 6cce5383bc

View file

@ -13,7 +13,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.minor == 9 and ansible_version.revision == 6"
- name: (Deprecation) Catch and report renamed settings
fail: