diff --git a/CHANGELOG.md b/CHANGELOG.md index 60ec710..9dc6410 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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)) diff --git a/requirements.txt b/requirements.txt index d2fbfaf..46db780 100644 --- a/requirements.txt +++ b/requirements.txt @@ -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 diff --git a/tasks/Debian.yml b/tasks/Debian.yml index 57ebfa4..e323f64 100644 --- a/tasks/Debian.yml +++ b/tasks/Debian.yml @@ -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: