Skip to content
Snippets Groups Projects
Unverified Commit 986c46c2 authored by Vicenç Juan Tomàs Montserrat's avatar Vicenç Juan Tomàs Montserrat Committed by GitHub
Browse files

Check ansible version >=2.7.8 in recover-control-plane.yml playbook (#5724)

parent e0292165
No related branches found
No related tags found
No related merge requests found
--- ---
- hosts: localhost - hosts: localhost
gather_facts: False gather_facts: False
become: no
tasks: tasks:
- name: "Check ansible version !=2.7.0" - name: "Check ansible version >=2.7.8"
assert: 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: that:
- ansible_version.string is version("2.7.0", "!=") - ansible_version.string is version("2.7.8", ">=")
- ansible_version.string is version("2.6.0", ">=")
tags: tags:
- check - check
vars: vars:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment