Browse Source

See #45: ensure Ansible 2.4.6 at least is installed

pull/50/head
Nicolas Massé 7 years ago
parent
commit
6ca9d60612
  1. 9
      tasks/steps/ansible_requirements.yml

9
tasks/steps/ansible_requirements.yml

@ -1,9 +1,12 @@
---
- name: Verify that Ansible version is >= 2.4
- name: Verify that Ansible version is >= 2.4.6
assert:
that: "ansible_version.full is version_compare('2.4', '>=')"
msg: This module requires at least Ansible 2.4
that: "ansible_version.full is version_compare('2.4.6', '>=')"
msg: >
This module requires at least Ansible 2.4.6. The version that comes
with RHEL and CentOS by default (2.4.2) has a known bug that prevent
this role from running properly.
- name: Check if jmespath is installed locally
debug: msg={{dummy|json_query('@')}}

Loading…
Cancel
Save