Upgrade to Ansible >2.7.0 (#4471)

This commit is contained in:
Maxime Guyot
2019-04-09 13:21:07 +02:00
committed by Kubernetes Prow Robot
parent 20ebb49568
commit a4e65c7ceb
7 changed files with 17 additions and 26 deletions

View File

@ -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: