diff options
author | Thomas Wiest <twiest@users.noreply.github.com> | 2015-05-21 10:57:55 -0400 |
---|---|---|
committer | Thomas Wiest <twiest@users.noreply.github.com> | 2015-05-21 10:57:55 -0400 |
commit | 83f1103c062bc0e4681f9087274a0840c9430220 (patch) | |
tree | a2247498167ae7b108c634dd044af05aa28b9c27 /roles | |
parent | be3f4e215e402292ada496a48964fa3dae052893 (diff) | |
parent | f7bbf6599623eefcecef89c10ee3f6fcbb97c3f7 (diff) | |
download | openshift-83f1103c062bc0e4681f9087274a0840c9430220.tar.gz openshift-83f1103c062bc0e4681f9087274a0840c9430220.tar.bz2 openshift-83f1103c062bc0e4681f9087274a0840c9430220.tar.xz openshift-83f1103c062bc0e4681f9087274a0840c9430220.zip |
Merge pull request #237 from detiber/ansibleVerCheck
Verify ansible is greater than 1.8.0 and not 1.9.0
Diffstat (limited to 'roles')
-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: |