mirror of
https://github.com/dj-wasabi/ansible-telegraf.git
synced 2025-07-17 08:46:37 +00:00
Merge pull request #122 from marcinwito/gpg_yum_repo_fix
gpgkey yum repo fix
This commit is contained in:
@ -73,6 +73,7 @@ telegraf_yum_baseurl:
|
|||||||
centos: "https://repos.influxdata.com/rhel/{{ telegraf_redhat_releasever }}/$basearch/stable"
|
centos: "https://repos.influxdata.com/rhel/{{ telegraf_redhat_releasever }}/$basearch/stable"
|
||||||
default: "https://repos.influxdata.com/{{ ansible_distribution|lower }}/{{ telegraf_redhat_releasever }}/$basearch/stable"
|
default: "https://repos.influxdata.com/{{ ansible_distribution|lower }}/{{ telegraf_redhat_releasever }}/$basearch/stable"
|
||||||
redhat: "https://repos.influxdata.com/rhel/{{ telegraf_redhat_releasever }}/$basearch/stable"
|
redhat: "https://repos.influxdata.com/rhel/{{ telegraf_redhat_releasever }}/$basearch/stable"
|
||||||
|
telegraf_yum_gpgkey: "https://repos.influxdata.com/influxdb.key"
|
||||||
|
|
||||||
telegraf_win_install_dir: 'C:\Telegraf'
|
telegraf_win_install_dir: 'C:\Telegraf'
|
||||||
telegraf_win_logfile: 'C:\\Telegraf\\telegraf.log'
|
telegraf_win_logfile: 'C:\\Telegraf\\telegraf.log'
|
||||||
|
@ -18,8 +18,8 @@
|
|||||||
name: influxdb
|
name: influxdb
|
||||||
description: InfluxDB Repository - RHEL $releasever
|
description: InfluxDB Repository - RHEL $releasever
|
||||||
baseurl: "{{ telegraf_yum_baseurl[ansible_distribution|lower] | default(telegraf_yum_baseurl['default']) }}"
|
baseurl: "{{ telegraf_yum_baseurl[ansible_distribution|lower] | default(telegraf_yum_baseurl['default']) }}"
|
||||||
gpgcheck: yes
|
gpgcheck: "{{ telegraf_yum_gpgcheck | default('true') }}"
|
||||||
gpgkey: https://repos.influxdata.com/influxdb.key
|
gpgkey: "{{ telegraf_yum_gpgkey }}"
|
||||||
become: yes
|
become: yes
|
||||||
when:
|
when:
|
||||||
- telegraf_agent_package_method == "repo"
|
- telegraf_agent_package_method == "repo"
|
||||||
|
Reference in New Issue
Block a user