Merge pull request #434 from gardar/avoid-elevated-privileges

fix:  prevent local binary cache creation with elevated privileges
This commit is contained in:
gardar 2024-10-18 16:51:26 +00:00 committed by GitHub
commit 5c2049c254
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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: