From e3d715d5fa4eaa30a8295de130dacad70a65ac04 Mon Sep 17 00:00:00 2001 From: gardar Date: Fri, 18 Oct 2024 16:26:19 +0000 Subject: [PATCH] fix: prevent local binary cache creation with elevated privileges fixes #427 Signed-off-by: gardar --- roles/_common/tasks/install.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/roles/_common/tasks/install.yml b/roles/_common/tasks/install.yml index b99c4ab87..299ff828f 100644 --- a/roles/_common/tasks/install.yml +++ b/roles/_common/tasks/install.yml @@ -53,6 +53,7 @@ mode: 0755 delegate_to: localhost check_mode: false + become: false tags: - "{{ ansible_parent_role_names | first | regex_replace(ansible_collection_name ~ '.', '') }}" - install @@ -67,6 +68,7 @@ - "{{ ansible_parent_role_names | first | regex_replace(ansible_collection_name ~ '.', '') }}_install" - download - "{{ ansible_parent_role_names | first | regex_replace(ansible_collection_name ~ '.', '') }}_download" + become: false block: - name: "Get checksum list for {{ __common_binary_basename }}" ansible.builtin.set_fact: