소스 검색

Ansible version check update

We require ansible >= 2.2.0 now. Updating version checking playbook to
reflect this change.
Tim Bielawa 8 년 전
부모
커밋
411ca1279f
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 3 3
      playbooks/common/openshift-cluster/verify_ansible_version.yml

+ 3 - 3
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')