Skip to content

Commit

Permalink
Check ansible version >=2.7.8 in recover-control-plane.yml playbook (k…
Browse files Browse the repository at this point in the history
  • Loading branch information
vtomasr5 authored Mar 7, 2020
1 parent e029216 commit 986c46c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions recover-control-plane.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down

0 comments on commit 986c46c

Please sign in to comment.