From e85b765e0e8520038b9971bd80d47c21fd766307 Mon Sep 17 00:00:00 2001 From: Jannik Beyerstedt Date: Sat, 11 Mar 2023 18:37:29 +0100 Subject: [PATCH] Telegraf: New package signing key --- tasks/telegraf-Centos.yml | 6 +++--- tasks/telegraf-Debian.yml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tasks/telegraf-Centos.yml b/tasks/telegraf-Centos.yml index e6ddeca..7c8b300 100644 --- a/tasks/telegraf-Centos.yml +++ b/tasks/telegraf-Centos.yml @@ -2,16 +2,16 @@ # Server/Telegraf: Install and Setup Telegraf Monitoring - CentOS Version - name: telegraf - Add telegraf repo - become: yes + become: true ansible.builtin.yum_repository: name: influxdb description: InfluxDB Repository baseurl: https://repos.influxdata.com/rhel/7/\$basearch/stable enabled: yes gpgcheck: yes - gpgkey: https://repos.influxdata.com/influxdb.key + gpgkey: https://repos.influxdata.com/influxdata-archive_compat.key - name: telegraf - Install telegraf - become: yes + become: true ansible.builtin.yum: name: telegraf state: latest diff --git a/tasks/telegraf-Debian.yml b/tasks/telegraf-Debian.yml index 5988125..9bcc300 100644 --- a/tasks/telegraf-Debian.yml +++ b/tasks/telegraf-Debian.yml @@ -9,7 +9,7 @@ - name: telegraf - Add telegraf repo key become: yes ansible.builtin.apt_key: - url: https://repos.influxdata.com/influxdb.key + url: https://repos.influxdata.com/influxdata-archive_compat.key state: present - name: telegraf - Add telegraf repo become: yes