Skip to content

Commit

Permalink
Merge pull request #434 from gardar/avoid-elevated-privileges
Browse files Browse the repository at this point in the history
fix:  prevent local binary cache creation with elevated privileges
  • Loading branch information
gardar authored Oct 18, 2024
2 parents 4670e4a + e3d715d commit 5c2049c
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 5c2049c

Please sign in to comment.