mirror of
https://github.com/prometheus-community/ansible
synced 2024-11-22 03:43:09 +00:00
Merge pull request #434 from gardar/avoid-elevated-privileges
fix: prevent local binary cache creation with elevated privileges
This commit is contained in:
commit
5c2049c254
1 changed files with 2 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue