mirror of
https://github.com/dj-wasabi/ansible-telegraf.git
synced 2025-07-17 08:46:37 +00:00
Updating Telegraf default to 1.9.0
This commit is contained in:
@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
# defaults file for ansible-telegraf
|
# defaults file for ansible-telegraf
|
||||||
|
|
||||||
telegraf_agent_version: 1.7.3
|
telegraf_agent_version: 1.9.0
|
||||||
telegraf_agent_hostname: "{{ ansible_fqdn }}"
|
telegraf_agent_hostname: "{{ ansible_fqdn }}"
|
||||||
telegraf_agent_interval: 10
|
telegraf_agent_interval: 10
|
||||||
telegraf_agent_debug: False
|
telegraf_agent_debug: False
|
||||||
|
@ -9,17 +9,28 @@ lint:
|
|||||||
config-file: molecule/default/yaml-lint.yml
|
config-file: molecule/default/yaml-lint.yml
|
||||||
|
|
||||||
platforms:
|
platforms:
|
||||||
|
- name: influxdb
|
||||||
|
image: influxdb
|
||||||
|
privileged: True
|
||||||
|
groups:
|
||||||
|
- influxdb
|
||||||
- name: telegraf-centos
|
- name: telegraf-centos
|
||||||
image: milcom/centos7-systemd
|
image: milcom/centos7-systemd
|
||||||
privileged: True
|
privileged: True
|
||||||
|
groups:
|
||||||
|
- telegraf
|
||||||
- name: telegraf-debian
|
- name: telegraf-debian
|
||||||
image: minimum2scp/systemd-stretch
|
image: minimum2scp/systemd-stretch
|
||||||
privileged: True
|
privileged: True
|
||||||
command: /sbin/init
|
command: /sbin/init
|
||||||
|
groups:
|
||||||
|
- telegraf
|
||||||
- name: telegraf-ubuntu
|
- name: telegraf-ubuntu
|
||||||
image: solita/ubuntu-systemd:bionic
|
image: solita/ubuntu-systemd:bionic
|
||||||
privileged: True
|
privileged: True
|
||||||
command: /sbin/init
|
command: /sbin/init
|
||||||
|
groups:
|
||||||
|
- telegraf
|
||||||
|
|
||||||
provisioner:
|
provisioner:
|
||||||
name: ansible
|
name: ansible
|
||||||
|
@ -21,6 +21,6 @@ def test_telegraf_dot_conf(File):
|
|||||||
assert telegraf.contains('[[inputs.cpu]]')
|
assert telegraf.contains('[[inputs.cpu]]')
|
||||||
|
|
||||||
|
|
||||||
def test_telegraf_package(Package, SystemInfo):
|
def test_telegraf_package(Package):
|
||||||
telegraf = Package('telegraf')
|
telegraf = Package('telegraf')
|
||||||
assert telegraf.is_installed
|
assert telegraf.is_installed
|
||||||
|
Reference in New Issue
Block a user