From f69b5f7f3339edc9842d1771bd4e1acd437e4e0f Mon Sep 17 00:00:00 2001
From: Maxime Guyot <Miouge1@users.noreply.github.com>
Date: Wed, 17 Apr 2019 19:18:05 +0200
Subject: [PATCH] Upgrade to Ansible 2.7.8 (#4535)

---
 README.md           | 2 +-
 cluster.yml         | 6 +++---
 remove-node.yml     | 6 +++---
 requirements.txt    | 2 +-
 reset.yml           | 6 +++---
 scale.yml           | 6 +++---
 upgrade-cluster.yml | 6 +++---
 7 files changed, 17 insertions(+), 17 deletions(-)

diff --git a/README.md b/README.md
index 689ae31b2..ce84f293c 100644
--- a/README.md
+++ b/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))
diff --git a/cluster.yml b/cluster.yml
index 3cc88fd53..ce8abbac7 100644
--- a/cluster.yml
+++ b/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:
diff --git a/remove-node.yml b/remove-node.yml
index 026363c7d..75ac2f2ef 100644
--- a/remove-node.yml
+++ b/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:
diff --git a/requirements.txt b/requirements.txt
index fcb79366f..eb00af2dd 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -1,4 +1,4 @@
-ansible>=2.7.6
+ansible>=2.7.8
 jinja2>=2.9.6
 netaddr
 pbr>=1.6
diff --git a/reset.yml b/reset.yml
index e67cb72a0..b790ac490 100644
--- a/reset.yml
+++ b/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:
diff --git a/scale.yml b/scale.yml
index 967f79042..d5532ff1e 100644
--- a/scale.yml
+++ b/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:
diff --git a/upgrade-cluster.yml b/upgrade-cluster.yml
index f895c1f9d..395ca049b 100644
--- a/upgrade-cluster.yml
+++ b/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:
-- 
GitLab