20 lines
417 B
YAML
20 lines
417 B
YAML
---
|
|
- name: Add grafana apt repo with signing key
|
|
become: true
|
|
ansible.builtin.deb822_repository:
|
|
name: grafana
|
|
types: deb
|
|
uris: https://apt.grafana.com
|
|
suites: stable
|
|
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
|