Skip to content
Snippets Groups Projects
Commit ce5a34d8 authored by Wong Hoi Sing Edison's avatar Wong Hoi Sing Edison Committed by k8s-ci-robot
Browse files

ansible: Upgrade to 2.7.1 (#3618)

Only exclude buggy Ansible v2.7.0 (https://github.com/ansible/ansible/issues/46600#issuecomment-433863628)

Fixup #3589
parent b8bafb28
No related branches found
No related tags found
No related merge requests found
---
- hosts: localhost
tasks:
- name: Check ansible version <2.7
- name: "Check ansible version !=2.7.0"
assert:
msg: "Ansible V2.7.0 can't be used until: https://github.com/ansible/ansible/issues/46600 is fixed"
that:
- ansible_version.string is version("2.7.0", "<")
- ansible_version.string is version("2.7.0", "!=")
- ansible_version.string is version("2.5.0", ">=")
tags:
- check
......
---
- hosts: localhost
tasks:
- name: Check ansible version <2.7
- name: "Check ansible version !=2.7.0"
assert:
msg: "Ansible V2.7.0 can't be used until: https://github.com/ansible/ansible/issues/46600 is fixed"
that:
......
ansible>=2.5.0,<2.7
ansible>=2.5.0,!=2.7.0
jinja2>=2.9.6
netaddr
pbr>=1.6
......
---
- hosts: localhost
tasks:
- name: Check ansible version <2.7
- name: "Check ansible version !=2.7.0"
assert:
msg: "Ansible V2.7.0 can't be used until: https://github.com/ansible/ansible/issues/46600 is fixed"
that:
- ansible_version.string is version("2.7.0", "<")
- ansible_version.string is version("2.7.0", "!=")
- ansible_version.string is version("2.5.0", ">=")
tags:
- check
......
---
- hosts: localhost
tasks:
- name: Check ansible version <2.7
- name: "Check ansible version !=2.7.0"
assert:
msg: "Ansible V2.7.0 can't be used until: https://github.com/ansible/ansible/issues/46600 is fixed"
that:
- ansible_version.string is version("2.7.0", "<")
- ansible_version.string is version("2.7.0", "!=")
- ansible_version.string is version("2.5.0", ">=")
tags:
- check
......
---
- hosts: localhost
tasks:
- name: Check ansible version <2.7
- name: "Check ansible version !=2.7.0"
assert:
msg: "Ansible V2.7.0 can't be used until: https://github.com/ansible/ansible/issues/46600 is fixed"
that:
- ansible_version.string is version("2.7.0", "<")
- ansible_version.string is version("2.7.0", "!=")
- ansible_version.string is version("2.5.0", ">=")
tags:
- check
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment