Browse Source

check ansible version. fix #1

pull/25/head 0.0.3
Nicolas Massé 8 years ago
parent
commit
bb70941558
  1. 5
      tasks/check_requirements.yml

5
tasks/check_requirements.yml

@ -1,5 +1,10 @@
--- ---
- name: Verify that Ansible version is >= 2.4
assert:
that: "ansible_version.full is version_compare('2.4', '>=')"
msg: This module requires at least Ansible 2.4
- name: Check if jmespath is installed locally - name: Check if jmespath is installed locally
debug: msg={{dummy|json_query('@')}} debug: msg={{dummy|json_query('@')}}
register: check_jmespath register: check_jmespath

Loading…
Cancel
Save