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 - hosts: localhost
tasks: tasks:
- name: Check ansible version <2.7 - name: "Check ansible version !=2.7.0"
assert: assert:
msg: "Ansible V2.7.0 can't be used until: https://github.com/ansible/ansible/issues/46600 is fixed" msg: "Ansible V2.7.0 can't be used until: https://github.com/ansible/ansible/issues/46600 is fixed"
that: 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", ">=") - ansible_version.string is version("2.5.0", ">=")
tags: tags:
- check - check

View file

@ -1,7 +1,7 @@
--- ---
- hosts: localhost - hosts: localhost
tasks: tasks:
- name: Check ansible version <2.7 - name: "Check ansible version !=2.7.0"
assert: assert:
msg: "Ansible V2.7.0 can't be used until: https://github.com/ansible/ansible/issues/46600 is fixed" msg: "Ansible V2.7.0 can't be used until: https://github.com/ansible/ansible/issues/46600 is fixed"
that: that:

View file

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

View file

@ -1,11 +1,11 @@
--- ---
- hosts: localhost - hosts: localhost
tasks: tasks:
- name: Check ansible version <2.7 - name: "Check ansible version !=2.7.0"
assert: assert:
msg: "Ansible V2.7.0 can't be used until: https://github.com/ansible/ansible/issues/46600 is fixed" msg: "Ansible V2.7.0 can't be used until: https://github.com/ansible/ansible/issues/46600 is fixed"
that: 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", ">=") - ansible_version.string is version("2.5.0", ">=")
tags: tags:
- check - check

View file

@ -1,11 +1,11 @@
--- ---
- hosts: localhost - hosts: localhost
tasks: tasks:
- name: Check ansible version <2.7 - name: "Check ansible version !=2.7.0"
assert: assert:
msg: "Ansible V2.7.0 can't be used until: https://github.com/ansible/ansible/issues/46600 is fixed" msg: "Ansible V2.7.0 can't be used until: https://github.com/ansible/ansible/issues/46600 is fixed"
that: 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", ">=") - ansible_version.string is version("2.5.0", ">=")
tags: tags:
- check - check

View file

@ -1,11 +1,11 @@
--- ---
- hosts: localhost - hosts: localhost
tasks: tasks:
- name: Check ansible version <2.7 - name: "Check ansible version !=2.7.0"
assert: assert:
msg: "Ansible V2.7.0 can't be used until: https://github.com/ansible/ansible/issues/46600 is fixed" msg: "Ansible V2.7.0 can't be used until: https://github.com/ansible/ansible/issues/46600 is fixed"
that: 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", ">=") - ansible_version.string is version("2.5.0", ">=")
tags: tags:
- check - check