From 5f74dc3222e22cf2edaecd17e2e32e272729ca29 Mon Sep 17 00:00:00 2001 From: Mathias Merscher Date: Wed, 24 May 2017 15:32:42 +0200 Subject: disable become for local actions --- roles/openshift_logging/tasks/generate_certs.yaml | 1 + roles/openshift_logging/tasks/main.yaml | 1 + 2 files changed, 2 insertions(+) (limited to 'roles/openshift_logging') 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}}" -- cgit v1.2.3