From 986c46c2b6cfcc83c5a9257839247016abb1d87a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vicen=C3=A7=20Juan=20Tom=C3=A0s=20Montserrat?= Date: Sat, 7 Mar 2020 19:17:34 +0100 Subject: [PATCH] Check ansible version >=2.7.8 in recover-control-plane.yml playbook (#5724) --- recover-control-plane.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/recover-control-plane.yml b/recover-control-plane.yml index cd6bfde2b..aca777ae1 100644 --- a/recover-control-plane.yml +++ b/recover-control-plane.yml @@ -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: