|
@@ -35,6 +35,15 @@
|
|
|
when: "{{ debian_version }} == 9"
|
|
|
shell: echo "deb https://repos.influxdata.com/debian stretch stable" | tee /etc/apt/sources.list.d/influxdb.list
|
|
|
|
|
|
+- name: add repo for debian 10
|
|
|
+ when: "{{ debian_version }} == 10"
|
|
|
+ shell: echo "deb https://repos.influxdata.com/debian $(lsb_release -cs) stable"|sudo tee /etc/apt/sources.list.d/influxdb.list
|
|
|
+
|
|
|
+- name: add repo for debian 11
|
|
|
+ when: "{{ debian_version }} == 11"
|
|
|
+ shell: echo "deb https://repos.influxdata.com/debian $(lsb_release -cs) stable"|sudo tee /etc/apt/sources.list.d/influxdb.list
|
|
|
+
|
|
|
+
|
|
|
- name: Update repositories cache
|
|
|
apt:
|
|
|
update_cache: yes
|