alloy(role): add documentation

- add README
- add argument_specs
- removed tags
This commit is contained in:
chris 2026-07-13 00:33:23 +02:00
commit 099852f588
Signed by: c6ristian
SSH key fingerprint: SHA256:B3m+yzpaxGXSEcDBpPHfvza/DNC0wuX+CKMeGq8wgak
4 changed files with 65 additions and 7 deletions

View file

@ -1,6 +1,5 @@
---
- name: Render blackbox exporter config
tags: [ blackbox-exporter, alloy ]
become: true
ansible.builtin.template:
src: config.blackbox-exporter.j2

View file

@ -0,0 +1,20 @@
---
- name: Add grafana apt repo with signing key
become: true
ansible.builtin.deb822_repository:
name: grafana
types: deb
uris: https://apt.grafana.com
suites: "{{ ansible_facts['distribution_release'] }}"
components:
- main
signed_by: https://apt.grafana.com/gpg.key
- name: Run cache update
ansible.builtin.apt:
update_cache: true
- name: Install alloy
become: true
ansible.builtin.package:
name: alloy

View file

@ -2,9 +2,8 @@
- name: Deploy Grafana Alloy with config
tags: [ alloy ]
block:
- name: Install Alloy on Debian
when: ansible_facts['distribution'] == "Debian"
ansible.builtin.include_tasks: install_debian.yml
- name: Install Alloy
ansible.builtin.include_tasks: install.yaml
- name: Create systemd override for alloy
become: true

View file

@ -1,6 +1,5 @@
---
- name: Install and Setup unpoller
tags: [ unpoller, alloy, podman, container ]
block:
- name: Install Podman
become: true