summaryrefslogtreecommitdiffstats
path: root/roles/openshift_logging/tasks
diff options
context:
space:
mode:
authorMathias Merscher <Mathias.Merscher@dg-i.net>2017-05-24 15:32:42 +0200
committerMathias Merscher <Mathias.Merscher@dg-i.net>2017-05-24 15:32:42 +0200
commit5f74dc3222e22cf2edaecd17e2e32e272729ca29 (patch)
treedf3cfe959079063c30523a1ede3344abaa09bb25 /roles/openshift_logging/tasks
parentf4061b9ad327ddd294b16285462c5bdde10945a6 (diff)
downloadopenshift-5f74dc3222e22cf2edaecd17e2e32e272729ca29.tar.gz
openshift-5f74dc3222e22cf2edaecd17e2e32e272729ca29.tar.bz2
openshift-5f74dc3222e22cf2edaecd17e2e32e272729ca29.tar.xz
openshift-5f74dc3222e22cf2edaecd17e2e32e272729ca29.zip
disable become for local actions
Diffstat (limited to 'roles/openshift_logging/tasks')
-rw-r--r--roles/openshift_logging/tasks/generate_certs.yaml1
-rw-r--r--roles/openshift_logging/tasks/main.yaml1
2 files changed, 2 insertions, 0 deletions
diff --git a/roles/openshift_logging/tasks/generate_certs.yaml b/roles/openshift_logging/tasks/generate_certs.yaml
index 7169c4036..dceedcd78 100644
--- a/roles/openshift_logging/tasks/generate_certs.yaml
+++ b/roles/openshift_logging/tasks/generate_certs.yaml
@@ -21,6 +21,7 @@
--key={{generated_certs_dir}}/ca.key --cert={{generated_certs_dir}}/ca.crt
--serial={{generated_certs_dir}}/ca.serial.txt --name=logging-signer-test
check_mode: no
+ become: false
when:
- not ca_key_file.stat.exists
- not ca_cert_file.stat.exists
diff --git a/roles/openshift_logging/tasks/main.yaml b/roles/openshift_logging/tasks/main.yaml
index f475024dd..3ff925039 100644
--- a/roles/openshift_logging/tasks/main.yaml
+++ b/roles/openshift_logging/tasks/main.yaml
@@ -20,6 +20,7 @@
changed_when: False
check_mode: no
tags: logging_init
+ become: false
- debug: msg="Created temp dir {{mktemp.stdout}}"