summaryrefslogtreecommitdiffstats
path: root/playbooks/common
diff options
context:
space:
mode:
authorTim Bielawa <tbielawa@redhat.com>2016-11-29 12:24:01 -0800
committerTim Bielawa <tbielawa@redhat.com>2016-11-29 12:24:01 -0800
commit411ca1279f88a135a25c63f5e269a5c5a64f8b50 (patch)
tree1dae424e1c7279877fef2e4d0dae2431a2060f9e /playbooks/common
parentf9eb1bc53e2c79f972a7f5aada5d7c9bd9f176dd (diff)
downloadopenshift-411ca1279f88a135a25c63f5e269a5c5a64f8b50.tar.gz
openshift-411ca1279f88a135a25c63f5e269a5c5a64f8b50.tar.bz2
openshift-411ca1279f88a135a25c63f5e269a5c5a64f8b50.tar.xz
openshift-411ca1279f88a135a25c63f5e269a5c5a64f8b50.zip
Ansible version check update
We require ansible >= 2.2.0 now. Updating version checking playbook to reflect this change.
Diffstat (limited to 'playbooks/common')
-rw-r--r--playbooks/common/openshift-cluster/verify_ansible_version.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/playbooks/common/openshift-cluster/verify_ansible_version.yml b/playbooks/common/openshift-cluster/verify_ansible_version.yml
index d75b23bf7..8be8fbf04 100644
--- a/playbooks/common/openshift-cluster/verify_ansible_version.yml
+++ b/playbooks/common/openshift-cluster/verify_ansible_version.yml
@@ -1,11 +1,11 @@
---
-- name: Verify Ansible version is greater than or equal to 2.1.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.1.0.0
+ - 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.1.0.0', 'ge')
+ when: not ansible_version.full | version_compare('2.2.0', 'ge')