diff options
author | Jason DeTiberus <jdetiber@redhat.com> | 2015-05-14 12:41:48 -0400 |
---|---|---|
committer | Jason DeTiberus <jdetiber@redhat.com> | 2015-05-20 16:37:17 -0400 |
commit | f7bbf6599623eefcecef89c10ee3f6fcbb97c3f7 (patch) | |
tree | ce1618e0c996fc1aac3b998b86faced93e4e93df /roles/openshift_facts/tasks | |
parent | 8dedb32348549d8aa279201cfb89c50d5dc83ba5 (diff) | |
download | openshift-f7bbf6599623eefcecef89c10ee3f6fcbb97c3f7.tar.gz openshift-f7bbf6599623eefcecef89c10ee3f6fcbb97c3f7.tar.bz2 openshift-f7bbf6599623eefcecef89c10ee3f6fcbb97c3f7.tar.xz openshift-f7bbf6599623eefcecef89c10ee3f6fcbb97c3f7.zip |
Verify ansible is greater than 1.8.0 and not 1.9.0
Diffstat (limited to 'roles/openshift_facts/tasks')
-rw-r--r-- | roles/openshift_facts/tasks/main.yml | 6 |
1 files changed, 6 insertions, 0 deletions
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: |