mirror of
https://github.com/dj-wasabi/ansible-telegraf.git
synced 2025-07-17 08:46:37 +00:00
Add variable for openSUSE RPM repository (#151)
This commit is contained in:
@ -233,6 +233,10 @@ _Supporting Windows is an best effort (I don't have the possibility to either te
|
||||
* `telegraf_win_logfile`: The location to the logfile of Telegraf.
|
||||
* `telegraf_win_include`: The directory that will contain all plugin configuration.
|
||||
|
||||
## openSUSE specific Variables
|
||||
|
||||
* `telegraf_zypper_baseurl`: The URL to the openSUSE repository that hosts Telegraf (for example, for openSUSE Leap: "http://download.opensuse.org/repositories/devel:/languages:/go/openSUSE_Leap_{{ ansible_distribution_version }}/")
|
||||
|
||||
## MacOS specific Variables
|
||||
|
||||
**NOTE**
|
||||
|
@ -79,6 +79,8 @@ telegraf_yum_baseurl:
|
||||
rocky: "https://repos.influxdata.com/rhel/{{ telegraf_redhat_releasever }}/$basearch/stable"
|
||||
telegraf_yum_gpgkey: "https://repos.influxdata.com/influxdb.key"
|
||||
|
||||
telegraf_zypper_baseurl: "http://download.opensuse.org/repositories/devel:/languages:/go/openSUSE_Factory/"
|
||||
|
||||
telegraf_win_install_dir: 'C:\Telegraf'
|
||||
telegraf_win_logfile: 'C:\\Telegraf\\telegraf.log'
|
||||
telegraf_win_include: 'C:\Telegraf\telegraf_agent.d'
|
||||
|
@ -23,8 +23,8 @@
|
||||
|
||||
- name: "Suse | Install basic repo file"
|
||||
zypper_repository:
|
||||
repo: "http://download.opensuse.org/repositories/devel:/languages:/go/openSUSE_Factory/"
|
||||
name: The Go Programming Language (openSUSE_Factory)
|
||||
repo: "{{ telegraf_zypper_baseurl }}"
|
||||
name: "telegraf"
|
||||
state: present
|
||||
runrefresh: True
|
||||
auto_import_keys: True
|
||||
|
Reference in New Issue
Block a user