Check ansible version >=2.7.8 in recover-control-plane.yml playbook (#5724)
parent
e029216566
commit
986c46c2b6
|
@ -1,13 +1,13 @@
|
|||
---
|
||||
- hosts: localhost
|
||||
gather_facts: False
|
||||
become: no
|
||||
tasks:
|
||||
- name: "Check ansible version !=2.7.0"
|
||||
- name: "Check ansible version >=2.7.8"
|
||||
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.8 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.8", ">=")
|
||||
tags:
|
||||
- check
|
||||
vars:
|
||||
|
|
Loading…
Reference in New Issue