Merge branch 'master' of github.com:dj-wasabi/ansible-telegraf

This commit is contained in:
Werner Dijkerman
2024-02-17 12:34:10 +01:00
3 changed files with 7 additions and 14 deletions

View File

@ -19,6 +19,9 @@
**Merged pull requests:**
- Bump ansible-core from 2.15.2 to 2.15.9 [\#182](https://github.com/dj-wasabi/ansible-telegraf/pull/182) ([dependabot[bot]](https://github.com/apps/dependabot))
- Bump ansible from 8.2.0 to 8.5.0 [\#181](https://github.com/dj-wasabi/ansible-telegraf/pull/181) ([dependabot[bot]](https://github.com/apps/dependabot))
- Change Debian repo location [\#179](https://github.com/dj-wasabi/ansible-telegraf/pull/179) ([danclough](https://github.com/danclough))
- replace depracted aws module [\#178](https://github.com/dj-wasabi/ansible-telegraf/pull/178) ([ThorstenHeck](https://github.com/ThorstenHeck))
- added yaml 1.2.2 compatibility [\#176](https://github.com/dj-wasabi/ansible-telegraf/pull/176) ([DEvil0000](https://github.com/DEvil0000))
- Migrate from io to diskio to fix deprecation warning [\#173](https://github.com/dj-wasabi/ansible-telegraf/pull/173) ([mprasil](https://github.com/mprasil))

View File

@ -1,6 +1,6 @@
ansible==8.2.0
ansible==8.5.0
ansible-compat==4.1.7
ansible-core==2.15.2
ansible-core==2.15.9
docker==6.1.3
molecule==6.0.1
molecule-docker==2.1.0

View File

@ -80,21 +80,11 @@
set_fact:
telegraf_repository_params: "[signed-by=/usr/share/keyrings/influxdata-archive.asc]"
- name: "Debian | Add Telegraf repository (using LSB)"
copy:
content: "deb {{ telegraf_repository_params | default('') }} https://repos.influxdata.com/{{ ansible_distribution|lower }} {{ ansible_lsb.codename }} stable"
dest: /etc/apt/sources.list.d/telegraf.list
when:
- ansible_lsb is defined
- ansible_lsb.codename is defined
- name: "Debian | Add Telegraf repository"
copy:
content: "deb {{ telegraf_repository_params | default('') }} https://repos.influxdata.com/{{ ansible_distribution|lower }} {{ ansible_distribution_release }} stable"
content: "deb {{ telegraf_repository_params | default('') }} https://repos.influxdata.com/{{ ansible_distribution|lower }} stable main"
dest: /etc/apt/sources.list.d/telegraf.list
become: true
when:
- ansible_lsb is not defined or ansible_lsb.codename is not defined
become: yes
- name: "Debian | Install Telegraf package (repo)"
apt: