Skip to content

Commit

Permalink
fix: prevent local binary cache creation with elevated privileges
Browse files Browse the repository at this point in the history
fixes #427

Signed-off-by: gardar <[email protected]>
  • Loading branch information
gardar committed Oct 18, 2024
1 parent 4670e4a commit e3d715d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions roles/_common/tasks/install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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:
Expand Down

0 comments on commit e3d715d

Please sign in to comment.