Browse Source

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
pull/3623/head
Wong Hoi Sing Edison 6 years ago
committed by k8s-ci-robot
parent
commit
ce5a34d86c
6 changed files with 10 additions and 10 deletions
  1. 4
      cluster.yml
  2. 2
      remove-node.yml
  3. 2
      requirements.txt
  4. 4
      reset.yml
  5. 4
      scale.yml
  6. 4
      upgrade-cluster.yml

4
cluster.yml

@ -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

2
remove-node.yml

@ -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:

2
requirements.txt

@ -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

4
reset.yml

@ -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

4
scale.yml

@ -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

4
upgrade-cluster.yml

@ -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

Loading…
Cancel
Save