5 Commits

Author SHA1 Message Date
81246d67ea Updated CHANGELOG.md on "2021-03-05 17:23:51" 2021-03-05 17:23:51 +00:00
0ca3c1ddda Fix spacing for telegraf_plugins_extra example in readme.md (#143)
The spacing for the telegraf_plugins_extra section (lines 273-276) in readme.md was too indented, corrected spacing to hopefully be valid YML.
2021-03-05 18:22:57 +01:00
ecce0edb9b Remove telegraf repository after switching to online method (#142)
* Remove telegraf repository after switching to online method

Co-authored-by: Jérémy CHABERNAUD <jeremy.chabernaud@axians.com>
2021-02-08 17:03:19 +01:00
d7863b10ef Updating CONTRIBUTORS file for release 0.13.1 2021-01-31 12:00:45 +01:00
a9809890ee Updating CHANGELOG.md file for release 0.13.1 2021-01-31 12:00:45 +01:00
4 changed files with 49 additions and 5 deletions

View File

@ -1,5 +1,39 @@
# 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)
[Full Changelog](https://github.com/dj-wasabi/ansible-telegraf/compare/0.12.0...0.13.0)
@ -20,6 +54,7 @@
**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))
- 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))

View File

@ -7,6 +7,7 @@
Diego Nava
Emerson Knapp
Farshad Nematdoust
Heckel, Robert J
Ilkka Tengvall
Ismael
Jack Ivy

View File

@ -80,7 +80,7 @@
when:
- telegraf_agent_package_method == "online"
- name: "Debian | Install Telegraf package"
- name: "Debian | Install Telegraf package (repo)"
apt:
name: "{{ telegraf_agent_package }}"
state: "{{ telegraf_agent_package_state }}"
@ -92,7 +92,7 @@
when:
- telegraf_agent_package_method == "repo"
- name: "Debian | Install Telegraf package"
- name: "Debian | Install Telegraf package (online)"
apt:
deb: "{{ telegraf_agent_package_path }}/{{ telegraf_agent_package }}"
state: "present"
@ -102,3 +102,11 @@
become: yes
when:
- 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"