1
0
Fork 0
mirror of https://github.com/roles-ansible/ansible_role_versioncheck.git synced 2024-08-16 15:59:49 +02:00
ansible_role_versioncheck/tasks/main.yml

8 lines
330 B
YAML
Raw Normal View History

---
- name: "check if ansible version is above {{ check_ansible_version }}"
assert:
that: "ansible_version.full is version_compare(check_ansible_version, '>=')"
msg: >
2020-01-15 21:43:37 +01:00
"You must update Ansible to at least {{ check_ansible_version }} to use this version of the toolbox openstack playbook."
2019-10-10 11:34:44 +02:00
delegate_to: localhost