From f7bbf6599623eefcecef89c10ee3f6fcbb97c3f7 Mon Sep 17 00:00:00 2001 From: Jason DeTiberus Date: Thu, 14 May 2015 12:41:48 -0400 Subject: Verify ansible is greater than 1.8.0 and not 1.9.0 --- roles/openshift_facts/tasks/main.yml | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'roles/openshift_facts') diff --git a/roles/openshift_facts/tasks/main.yml b/roles/openshift_facts/tasks/main.yml index 5a7d10d25..d71e6d019 100644 --- a/roles/openshift_facts/tasks/main.yml +++ b/roles/openshift_facts/tasks/main.yml @@ -1,3 +1,9 @@ --- +- name: Verify Ansible version is greater than 1.8.0 and not 1.9.0 + assert: + that: + - ansible_version | version_compare('1.8.0', 'ge') + - ansible_version | version_compare('1.9.0', 'ne') + - name: Gather OpenShift facts openshift_facts: -- cgit v1.2.3