mirror of
https://github.com/dj-wasabi/ansible-telegraf.git
synced 2025-07-17 08:46:37 +00:00
Compare commits
5 Commits
Author | SHA1 | Date | |
---|---|---|---|
81246d67ea | |||
0ca3c1ddda | |||
ecce0edb9b | |||
d7863b10ef | |||
a9809890ee |
35
CHANGELOG.md
35
CHANGELOG.md
@ -1,5 +1,39 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## [Unreleased](https://github.com/dj-wasabi/ansible-telegraf/tree/HEAD)
|
||||||
|
|
||||||
|
[Full Changelog](https://github.com/dj-wasabi/ansible-telegraf/compare/0.13.1...HEAD)
|
||||||
|
|
||||||
|
**Implemented enhancements:**
|
||||||
|
|
||||||
|
- Remove telegraf repository after switching to online method [\#142](https://github.com/dj-wasabi/ansible-telegraf/pull/142) ([djerfy](https://github.com/djerfy))
|
||||||
|
|
||||||
|
**Merged pull requests:**
|
||||||
|
|
||||||
|
- Fix spacing for telegraf\_plugins\_extra example in readme.md [\#143](https://github.com/dj-wasabi/ansible-telegraf/pull/143) ([isclever](https://github.com/isclever))
|
||||||
|
|
||||||
|
## [0.13.1](https://github.com/dj-wasabi/ansible-telegraf/tree/0.13.1) (2021-01-06)
|
||||||
|
|
||||||
|
[Full Changelog](https://github.com/dj-wasabi/ansible-telegraf/compare/0.13.0...0.13.1)
|
||||||
|
|
||||||
|
**Implemented enhancements:**
|
||||||
|
|
||||||
|
- Added GH Action to automatically update CHANGELOG.md [\#141](https://github.com/dj-wasabi/ansible-telegraf/pull/141) ([dj-wasabi](https://github.com/dj-wasabi))
|
||||||
|
|
||||||
|
**Fixed bugs:**
|
||||||
|
|
||||||
|
- adjustments for Windows \>= 1.15 [\#139](https://github.com/dj-wasabi/ansible-telegraf/pull/139) ([billabongrob](https://github.com/billabongrob))
|
||||||
|
|
||||||
|
**Closed issues:**
|
||||||
|
|
||||||
|
- Newer versions of Telegraf fail on Windows [\#138](https://github.com/dj-wasabi/ansible-telegraf/issues/138)
|
||||||
|
|
||||||
|
**Merged pull requests:**
|
||||||
|
|
||||||
|
- Added property telegraf\_agent\_docker\_image\_version for using a specific version of the Docker image [\#137](https://github.com/dj-wasabi/ansible-telegraf/pull/137) ([dj-wasabi](https://github.com/dj-wasabi))
|
||||||
|
- Apply ansible-lint in pre-commit hook and fix changes [\#136](https://github.com/dj-wasabi/ansible-telegraf/pull/136) ([dj-wasabi](https://github.com/dj-wasabi))
|
||||||
|
- Using version as version\_compare is deprecated [\#135](https://github.com/dj-wasabi/ansible-telegraf/pull/135) ([dj-wasabi](https://github.com/dj-wasabi))
|
||||||
|
|
||||||
## [0.13.0](https://github.com/dj-wasabi/ansible-telegraf/tree/0.13.0) (2020-10-16)
|
## [0.13.0](https://github.com/dj-wasabi/ansible-telegraf/tree/0.13.0) (2020-10-16)
|
||||||
|
|
||||||
[Full Changelog](https://github.com/dj-wasabi/ansible-telegraf/compare/0.12.0...0.13.0)
|
[Full Changelog](https://github.com/dj-wasabi/ansible-telegraf/compare/0.12.0...0.13.0)
|
||||||
@ -20,6 +54,7 @@
|
|||||||
|
|
||||||
**Merged pull requests:**
|
**Merged pull requests:**
|
||||||
|
|
||||||
|
- Using command instead of shell module [\#134](https://github.com/dj-wasabi/ansible-telegraf/pull/134) ([dj-wasabi](https://github.com/dj-wasabi))
|
||||||
- corrected "Example Docker configuration" to make it work by default [\#132](https://github.com/dj-wasabi/ansible-telegraf/pull/132) ([NotDead](https://github.com/NotDead))
|
- corrected "Example Docker configuration" to make it work by default [\#132](https://github.com/dj-wasabi/ansible-telegraf/pull/132) ([NotDead](https://github.com/NotDead))
|
||||||
- Removing requirements file and use it from ci-base repo [\#131](https://github.com/dj-wasabi/ansible-telegraf/pull/131) ([dj-wasabi](https://github.com/dj-wasabi))
|
- Removing requirements file and use it from ci-base repo [\#131](https://github.com/dj-wasabi/ansible-telegraf/pull/131) ([dj-wasabi](https://github.com/dj-wasabi))
|
||||||
- Going to Github Actions [\#130](https://github.com/dj-wasabi/ansible-telegraf/pull/130) ([dj-wasabi](https://github.com/dj-wasabi))
|
- Going to Github Actions [\#130](https://github.com/dj-wasabi/ansible-telegraf/pull/130) ([dj-wasabi](https://github.com/dj-wasabi))
|
||||||
|
@ -7,6 +7,7 @@
|
|||||||
Diego Nava
|
Diego Nava
|
||||||
Emerson Knapp
|
Emerson Knapp
|
||||||
Farshad Nematdoust
|
Farshad Nematdoust
|
||||||
|
Heckel, Robert J
|
||||||
Ilkka Tengvall
|
Ilkka Tengvall
|
||||||
Ismael
|
Ismael
|
||||||
Jack Ivy
|
Jack Ivy
|
||||||
|
@ -271,9 +271,9 @@ The 2nd parameter `telegraf_plugins_extra` can be used to add plugins specific t
|
|||||||
|
|
||||||
cat group_vars/mysql_database
|
cat group_vars/mysql_database
|
||||||
telegraf_plugins_extra:
|
telegraf_plugins_extra:
|
||||||
mysql:
|
mysql:
|
||||||
config:
|
config:
|
||||||
- servers = ["root:{{ mysql_root_password }}@tcp(localhost:3306)/"]
|
- servers = ["root:{{ mysql_root_password }}@tcp(localhost:3306)/"]
|
||||||
|
|
||||||
There is an option to delete extra-plugin files in /etc/telegraf/telegraf.d if they weren't generated by this playbook with `telegraf_plugins_extra_exclusive` variable.
|
There is an option to delete extra-plugin files in /etc/telegraf/telegraf.d if they weren't generated by this playbook with `telegraf_plugins_extra_exclusive` variable.
|
||||||
|
|
||||||
|
@ -80,7 +80,7 @@
|
|||||||
when:
|
when:
|
||||||
- telegraf_agent_package_method == "online"
|
- telegraf_agent_package_method == "online"
|
||||||
|
|
||||||
- name: "Debian | Install Telegraf package"
|
- name: "Debian | Install Telegraf package (repo)"
|
||||||
apt:
|
apt:
|
||||||
name: "{{ telegraf_agent_package }}"
|
name: "{{ telegraf_agent_package }}"
|
||||||
state: "{{ telegraf_agent_package_state }}"
|
state: "{{ telegraf_agent_package_state }}"
|
||||||
@ -92,7 +92,7 @@
|
|||||||
when:
|
when:
|
||||||
- telegraf_agent_package_method == "repo"
|
- telegraf_agent_package_method == "repo"
|
||||||
|
|
||||||
- name: "Debian | Install Telegraf package"
|
- name: "Debian | Install Telegraf package (online)"
|
||||||
apt:
|
apt:
|
||||||
deb: "{{ telegraf_agent_package_path }}/{{ telegraf_agent_package }}"
|
deb: "{{ telegraf_agent_package_path }}/{{ telegraf_agent_package }}"
|
||||||
state: "present"
|
state: "present"
|
||||||
@ -102,3 +102,11 @@
|
|||||||
become: yes
|
become: yes
|
||||||
when:
|
when:
|
||||||
- telegraf_agent_package_method == "online" or telegraf_agent_package_method == "offline"
|
- telegraf_agent_package_method == "online" or telegraf_agent_package_method == "offline"
|
||||||
|
|
||||||
|
- name: "Debian | Remove repository (online/offline install)"
|
||||||
|
file:
|
||||||
|
path: "/etc/apt/sources.list.d/telegraf.list"
|
||||||
|
state: absent
|
||||||
|
become: yes
|
||||||
|
when:
|
||||||
|
- telegraf_agent_package_method == "online" or telegraf_agent_package_method == "offline"
|
||||||
|
Reference in New Issue
Block a user