Browse Source

Upgrade to Ansible 2.7.8 (#4535)

pull/4566/head
Maxime Guyot 5 years ago
committed by Kubernetes Prow Robot
parent
commit
f69b5f7f33
7 changed files with 17 additions and 17 deletions
  1. 2
      README.md
  2. 6
      cluster.yml
  3. 6
      remove-node.yml
  4. 2
      requirements.txt
  5. 6
      reset.yml
  6. 6
      scale.yml
  7. 6
      upgrade-cluster.yml

2
README.md

@ -139,7 +139,7 @@ plugins can be deployed for a given single cluster.
Requirements
------------
- **Ansible v2.7.6 (or newer) and python-netaddr is installed on the machine
- **Ansible v2.7.8 (or newer) and python-netaddr is installed on the machine
that will run Ansible commands**
- **Jinja 2.9 (or newer) is required to run the Ansible Playbooks**
- The target servers must have **access to the Internet** in order to pull docker images. Otherwise, additional configuration is required (See [Offline Environment](https://github.com/kubernetes-sigs/kubespray/blob/master/docs/downloads.md#offline-environment))

6
cluster.yml

@ -3,11 +3,11 @@
gather_facts: false
become: no
tasks:
- name: "Check ansible version >=2.7.6"
- name: "Check ansible version >=2.7.8"
assert:
msg: "Ansible must be v2.7.6 or higher"
msg: "Ansible must be v2.7.8 or higher"
that:
- ansible_version.string is version("2.7.6", ">=")
- ansible_version.string is version("2.7.8", ">=")
tags:
- check
vars:

6
remove-node.yml

@ -2,11 +2,11 @@
- hosts: localhost
become: no
tasks:
- name: "Check ansible version >=2.7.6"
- name: "Check ansible version >=2.7.8"
assert:
msg: "Ansible must be v2.7.6 or higher"
msg: "Ansible must be v2.7.8 or higher"
that:
- ansible_version.string is version("2.7.6", ">=")
- ansible_version.string is version("2.7.8", ">=")
tags:
- check
vars:

2
requirements.txt

@ -1,4 +1,4 @@
ansible>=2.7.6
ansible>=2.7.8
jinja2>=2.9.6
netaddr
pbr>=1.6

6
reset.yml

@ -2,11 +2,11 @@
- hosts: localhost
become: no
tasks:
- name: "Check ansible version >=2.7.6"
- name: "Check ansible version >=2.7.8"
assert:
msg: "Ansible must be v2.7.6 or higher"
msg: "Ansible must be v2.7.8 or higher"
that:
- ansible_version.string is version("2.7.6", ">=")
- ansible_version.string is version("2.7.8", ">=")
tags:
- check
vars:

6
scale.yml

@ -3,11 +3,11 @@
gather_facts: False
become: no
tasks:
- name: "Check ansible version >=2.7.6"
- name: "Check ansible version >=2.7.8"
assert:
msg: "Ansible must be v2.7.6 or higher"
msg: "Ansible must be v2.7.8 or higher"
that:
- ansible_version.string is version("2.7.6", ">=")
- ansible_version.string is version("2.7.8", ">=")
tags:
- check
vars:

6
upgrade-cluster.yml

@ -3,11 +3,11 @@
gather_facts: false
become: no
tasks:
- name: "Check ansible version >=2.7.6"
- name: "Check ansible version >=2.7.8"
assert:
msg: "Ansible must be v2.7.6 or higher"
msg: "Ansible must be v2.7.8 or higher"
that:
- ansible_version.string is version("2.7.6", ">=")
- ansible_version.string is version("2.7.8", ">=")
tags:
- check
vars:

Loading…
Cancel
Save