fix: add influx apt list & key

This commit is contained in:
2023-03-14 12:06:43 +01:00
parent 23ae78c6ff
commit 5f51564e7d
3 changed files with 15 additions and 0 deletions

Binary file not shown.

View File

@@ -0,0 +1 @@
deb [signed-by=/usr/share/keyrings/infux-repo.gpg] https://repos.influxdata.com/debian bullseye stable

View File

@@ -1,3 +1,17 @@
- name: Copy influx apt keyring
file:
src: influx-repo.gpg
dest: /usr/share/keyrings/
mode: 644
when: monitoring_master
- name: Add influx apt repo
file:
src: influxdb.list
dest: /etc/apt/sources.list.d/
mode: 644
when: monitoring_master
- name: Install influxdb
apt:
name: influxdb