summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorirozzo <iacopo.rozzo@amadeus.com>2017-12-05 09:51:07 +0100
committerirozzo <iacopo.rozzo@amadeus.com>2017-12-05 15:06:57 +0100
commitcef1ad686c5340bccced90b7033aa8fddf1f8df1 (patch)
tree341eafdd078dc9141caa44ab6420d8dac6e4c413
parent351785e4c44101fb109f03ac4aedbddd86faaa72 (diff)
downloadopenshift-cef1ad686c5340bccced90b7033aa8fddf1f8df1.tar.gz
openshift-cef1ad686c5340bccced90b7033aa8fddf1f8df1.tar.bz2
openshift-cef1ad686c5340bccced90b7033aa8fddf1f8df1.tar.xz
openshift-cef1ad686c5340bccced90b7033aa8fddf1f8df1.zip
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 7f8e88036..2571548d6 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