summaryrefslogtreecommitdiffstats
path: root/playbooks/common
diff options
context:
space:
mode:
authorTim Bielawa <timbielawa@gmail.com>2016-12-08 11:05:31 -0800
committerGitHub <noreply@github.com>2016-12-08 11:05:31 -0800
commit760ea5d197a19a87d624db0a6b110896ab2021b0 (patch)
treef01219965f3a940eb14efb86774f49219a1225ba /playbooks/common
parent16749761a312894d8ba1101917b7ebf430616812 (diff)
parenta6aea71d78bb09a2647808405f1f7ade4ca67865 (diff)
downloadopenshift-760ea5d197a19a87d624db0a6b110896ab2021b0.tar.gz
openshift-760ea5d197a19a87d624db0a6b110896ab2021b0.tar.bz2
openshift-760ea5d197a19a87d624db0a6b110896ab2021b0.tar.xz
openshift-760ea5d197a19a87d624db0a6b110896ab2021b0.zip
Merge pull request #2942 from mtnbikenc/ansible-version
Minimum Ansible version check
Diffstat (limited to 'playbooks/common')
-rw-r--r--playbooks/common/openshift-cluster/upgrades/init.yml2
-rw-r--r--playbooks/common/openshift-cluster/verify_ansible_version.yml11
2 files changed, 0 insertions, 13 deletions
diff --git a/playbooks/common/openshift-cluster/upgrades/init.yml b/playbooks/common/openshift-cluster/upgrades/init.yml
index fbdb7900a..8cac2fb3b 100644
--- a/playbooks/common/openshift-cluster/upgrades/init.yml
+++ b/playbooks/common/openshift-cluster/upgrades/init.yml
@@ -1,6 +1,4 @@
---
-- include: ../verify_ansible_version.yml
-
- hosts: localhost
connection: local
become: no
diff --git a/playbooks/common/openshift-cluster/verify_ansible_version.yml b/playbooks/common/openshift-cluster/verify_ansible_version.yml
deleted file mode 100644
index 8be8fbf04..000000000
--- a/playbooks/common/openshift-cluster/verify_ansible_version.yml
+++ /dev/null
@@ -1,11 +0,0 @@
----
-- name: Verify Ansible version is greater than or equal to 2.2.0
- hosts: localhost
- connection: local
- become: no
- gather_facts: no
- tasks:
- - name: Verify Ansible version is greater than or equal to 2.2.0
- fail:
- msg: "Unsupported ansible version: {{ ansible_version.full }} found"
- when: not ansible_version.full | version_compare('2.2.0', 'ge')