forked from FF-RGB/ansible
14 lines
623 B
Django/Jinja
14 lines
623 B
Django/Jinja
[influxdb]
|
|
name = InfluxDB Repository - {{ ansible_distribution }} $releasever
|
|
{% if ansible_distribution|lower == "amazon" %}
|
|
baseurl = "{{ telegraf_influxdata_base_url }}/centos/6/amd64/{{ telegraf_install_version }}"
|
|
{% elif ansible_distribution|lower == "redhat" %}
|
|
baseurl = {{ telegraf_influxdata_base_url }}/rhel/$releasever/$basearch/{{ telegraf_install_version }}
|
|
{% else %}
|
|
baseurl = {{ telegraf_influxdata_base_url }}/{{ ansible_distribution|lower }}/$releasever/$basearch/{{ telegraf_install_version }}
|
|
{% endif %}
|
|
enabled = 1
|
|
gpgcheck = 1
|
|
gpgkey = {{ telegraf_influxdata_base_url }}/influxdb.key
|
|
sslverify = 1
|