summaryrefslogtreecommitdiffstats
path: root/roles/openshift_facts
diff options
context:
space:
mode:
authorAndrew Butcher <abutcher@redhat.com>2016-07-20 14:09:23 -0400
committerAndrew Butcher <abutcher@redhat.com>2016-07-20 15:59:57 -0400
commitc3c88fb35f8f8541b066b6a25f976e53b1813d1d (patch)
tree2f5e6f1f3cde0e7cbdc1360c5180a23811dac554 /roles/openshift_facts
parenta7e6148bb5c5fa9746de5c351a6b0a4d065d82d4 (diff)
downloadopenshift-c3c88fb35f8f8541b066b6a25f976e53b1813d1d.tar.gz
openshift-c3c88fb35f8f8541b066b6a25f976e53b1813d1d.tar.bz2
openshift-c3c88fb35f8f8541b066b6a25f976e53b1813d1d.tar.xz
openshift-c3c88fb35f8f8541b066b6a25f976e53b1813d1d.zip
Check ansible version prior to evaluating cluster hosts and groups.
Diffstat (limited to 'roles/openshift_facts')
-rw-r--r--roles/openshift_facts/tasks/main.yml5
1 files changed, 0 insertions, 5 deletions
diff --git a/roles/openshift_facts/tasks/main.yml b/roles/openshift_facts/tasks/main.yml
index 2aca35ce1..4dbbd7f45 100644
--- a/roles/openshift_facts/tasks/main.yml
+++ b/roles/openshift_facts/tasks/main.yml
@@ -1,9 +1,4 @@
---
-- name: Verify Ansible version is greater than or equal to 2.1.0.0
- fail:
- msg: "Unsupported ansible version: {{ ansible_version.full }} found"
- when: not ansible_version.full | version_compare('2.1.0.0', 'ge')
-
- name: Detecting Operating System
stat:
path: /run/ostree-booted