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
This commit is contained in:
Wong Hoi Sing Edison 2018-10-31 18:01:19 +08:00 committed by k8s-ci-robot
parent b8bafb2893
commit ce5a34d86c
6 changed files with 10 additions and 10 deletions

View file

@ -1,11 +1,11 @@
---
- 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

View file

@ -1,7 +1,7 @@
---
- 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:

View file

@ -1,4 +1,4 @@
ansible>=2.5.0,<2.7
ansible>=2.5.0,!=2.7.0
jinja2>=2.9.6
netaddr
pbr>=1.6

View file

@ -1,11 +1,11 @@
---
- 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

View file

@ -1,11 +1,11 @@
---
- 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

View file

@ -1,11 +1,11 @@
---
- 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