summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRussell Teague <rteague@redhat.com>2017-12-13 10:13:31 -0500
committerGitHub <noreply@github.com>2017-12-13 10:13:31 -0500
commit60b4ff05093602811b1031b59436322ff5719a45 (patch)
tree4059711a562adff38f195bde4cb5b0bec6516e16
parent3c99f16b78b331f8461cf196f5d96f335d941542 (diff)
parentcef1ad686c5340bccced90b7033aa8fddf1f8df1 (diff)
downloadopenshift-60b4ff05093602811b1031b59436322ff5719a45.tar.gz
openshift-60b4ff05093602811b1031b59436322ff5719a45.tar.bz2
openshift-60b4ff05093602811b1031b59436322ff5719a45.tar.xz
openshift-60b4ff05093602811b1031b59436322ff5719a45.zip
Merge pull request #6369 from irozzo-1A/logging-become
Do not escalate privileges in logging stack deployment task
-rw-r--r--roles/openshift_logging/tasks/main.yaml1
-rw-r--r--roles/openshift_logging_fluentd/tasks/label_and_wait.yaml1
2 files changed, 2 insertions, 0 deletions
diff --git a/roles/openshift_logging/tasks/main.yaml b/roles/openshift_logging/tasks/main.yaml
index 91db457d1..9949bb95d 100644
--- a/roles/openshift_logging/tasks/main.yaml
+++ b/roles/openshift_logging/tasks/main.yaml
@@ -31,3 +31,4 @@
local_action: file path="{{local_tmp.stdout}}" state=absent
tags: logging_cleanup
changed_when: False
+ become: no
diff --git a/roles/openshift_logging_fluentd/tasks/label_and_wait.yaml b/roles/openshift_logging_fluentd/tasks/label_and_wait.yaml
index e92a35f27..12b4f5bfd 100644
--- a/roles/openshift_logging_fluentd/tasks/label_and_wait.yaml
+++ b/roles/openshift_logging_fluentd/tasks/label_and_wait.yaml
@@ -8,3 +8,4 @@
# wait half a second between labels
- local_action: command sleep {{ openshift_logging_fluentd_label_delay | default('.5') }}
+ become: no