From c66e9a6d62d30cd34ee711d9a2b4862bc38d9c76 Mon Sep 17 00:00:00 2001
From: Andrey Zhelnin <andjelx@users.noreply.github.com>
Date: Tue, 26 Feb 2019 04:36:44 +0100
Subject: [PATCH] Disable become for localhost (#4287)

---
 cluster.yml         | 1 +
 remove-node.yml     | 1 +
 reset.yml           | 1 +
 scale.yml           | 1 +
 upgrade-cluster.yml | 1 +
 5 files changed, 5 insertions(+)

diff --git a/cluster.yml b/cluster.yml
index 82a377128..9bdb9000c 100644
--- a/cluster.yml
+++ b/cluster.yml
@@ -1,6 +1,7 @@
 ---
 - hosts: localhost
   gather_facts: false
+  become: no
   tasks:
     - name: "Check ansible version !=2.7.0"
       assert:
diff --git a/remove-node.yml b/remove-node.yml
index a4bd8d97a..381a0a8e5 100644
--- a/remove-node.yml
+++ b/remove-node.yml
@@ -1,5 +1,6 @@
 ---
 - hosts: localhost
+  become: no
   tasks:
     - name: "Check ansible version !=2.7.0"
       assert:
diff --git a/reset.yml b/reset.yml
index db8e70400..9cec8761b 100644
--- a/reset.yml
+++ b/reset.yml
@@ -1,5 +1,6 @@
 ---
 - hosts: localhost
+  become: no
   tasks:
     - name: "Check ansible version !=2.7.0"
       assert:
diff --git a/scale.yml b/scale.yml
index 13472f661..4dcbeda61 100644
--- a/scale.yml
+++ b/scale.yml
@@ -1,6 +1,7 @@
 ---
 - hosts: localhost
   gather_facts: False
+  become: no
   tasks:
     - name: "Check ansible version !=2.7.0"
       assert:
diff --git a/upgrade-cluster.yml b/upgrade-cluster.yml
index 59e2d988c..3a4acfd55 100644
--- a/upgrade-cluster.yml
+++ b/upgrade-cluster.yml
@@ -1,6 +1,7 @@
 ---
 - hosts: localhost
   gather_facts: false
+  become: no
   tasks:
     - name: "Check ansible version !=2.7.0"
       assert:
-- 
GitLab