Update 'roles/telegraf/tasks/debian.yml'
This commit is contained in:
parent
27296f8af0
commit
b9a3cd1c2c
1 changed files with 9 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue