Skip to content

Commit

Permalink
ansible: Upgrade to 2.7.1 (#3618)
Browse files Browse the repository at this point in the history
Only exclude buggy Ansible v2.7.0 (ansible/ansible#46600 (comment))

Fixup #3589
  • Loading branch information
hswong3i authored and k8s-ci-robot committed Oct 31, 2018
1 parent b8bafb2 commit ce5a34d
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions cluster.yml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion remove-node.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 2 additions & 2 deletions reset.yml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 2 additions & 2 deletions scale.yml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 2 additions & 2 deletions upgrade-cluster.yml
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit ce5a34d

Please sign in to comment.