Ver Fonte

Merge pull request #2883 from tbielawa/update-ansible-ver-check

Ansible version check update
Jason DeTiberus há 8 anos atrás
pai
commit
f5a8207ad1

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