From 6985739c03297f5d0ead06d5193a82155db3a661 Mon Sep 17 00:00:00 2001 From: Steve Kuznetsov Date: Tue, 16 May 2017 09:16:07 -0700 Subject: Don't escalate privileges in local tmpdir creation When running `ansible-playbook` as a non-root user, if a local temporary directory is created without explicitly not escalating privileges, the directory will not be readable to the user running the playbook on the controller host, which will lead to tasks like `fetch` failing to place files into the directory. Signed-off-by: Steve Kuznetsov --- roles/openshift_logging/tasks/main.yaml | 1 + 1 file changed, 1 insertion(+) (limited to 'roles/openshift_logging/tasks') diff --git a/roles/openshift_logging/tasks/main.yaml b/roles/openshift_logging/tasks/main.yaml index 387da618d..3d8cd3410 100644 --- a/roles/openshift_logging/tasks/main.yaml +++ b/roles/openshift_logging/tasks/main.yaml @@ -28,6 +28,7 @@ register: local_tmp changed_when: False check_mode: no + become: no - debug: msg="Created local temp dir {{local_tmp.stdout}}" -- cgit v1.2.3