Upgrade to Ansible >2.7.0 (#4471)
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
20ebb49568
commit
a4e65c7ceb
@ -3,12 +3,11 @@
|
||||
gather_facts: false
|
||||
become: no
|
||||
tasks:
|
||||
- name: "Check ansible version !=2.7.0"
|
||||
- name: "Check ansible version >=2.7.6"
|
||||
assert:
|
||||
msg: "Ansible V2.7.0 can't be used until: https://github.com/ansible/ansible/issues/46600 is fixed"
|
||||
msg: "Ansible must be v2.7.6 or higher"
|
||||
that:
|
||||
- ansible_version.string is version("2.7.0", "!=")
|
||||
- ansible_version.string is version("2.6.0", ">=")
|
||||
- ansible_version.string is version("2.7.6", ">=")
|
||||
tags:
|
||||
- check
|
||||
vars:
|
||||
|
Reference in New Issue
Block a user