tmp
Some checks failed
/ Ansible Lint (push) Failing after 2m17s

This commit is contained in:
lilly 2026-02-26 21:13:07 +01:00
commit 4a7df9969d
Signed by: lilly
SSH key fingerprint: SHA256:y9T5GFw2A20WVklhetIxG1+kcg/Ce0shnQmbu1LQ37g
23 changed files with 746 additions and 0 deletions

View file

@ -0,0 +1,28 @@
- tags: [ grafana_alloy, alloy ]
block:
- name: Deploy extra grafana-alloy config files
become: true
notify: alloy.reloaded
with_filetree: "templates/alloy/"
loop_control:
label: "{{ item.path }}"
template:
src: "alloy/{{ item.path }}"
dest: "/etc/alloy/{{ item.path }}"
owner: alloy
group: alloy
mode: "u=r,g=r,o="
- name: Add alloy systemd override directory
become: true
file:
path: /etc/systemd/system/alloy.service.d/
state: directory
- name: Configure systemd service override
notify: alloy.restarted
become: true
template:
src: alloy.override.conf
dest: /etc/systemd/system/alloy.service.d/override.conf