Skip to content

Commit

Permalink
Merge pull request #117 from wingcon/master
Browse files Browse the repository at this point in the history
added installation method manual - skip installation
  • Loading branch information
Werner Dijkerman authored Mar 18, 2020
2 parents 7d89ab2 + 7d5d5c1 commit 8fdab6f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,13 +88,14 @@ Specifying the version to be installed:

* `telegraf_agent_version`: The version of Telegraf to install. Default: `1.10.0`

How `Telegraf` needs to be installed. There are 3 methods in getting `Telegraf` installed on the target host:
How `Telegraf` needs to be installed. There are 4 methods in getting `Telegraf` installed on the target host:

* Via the package manager, like `yum`, `apt` or `zypper` ("repo");
* Via a download from the `https://dl.influxdata.com/` site ("online");
* Already provided and is already available on the target host, but not yet installed/configured ("offline");
* Already installed on the target host or done manually, but not yet configured ("manual");

This can be configured by setting `telegraf_agent_package_method` to one of the appropriate values ( `repo`, `online` or `offline`).
This can be configured by setting `telegraf_agent_package_method` to one of the appropriate values ( `repo`, `online`, `offline` or `manual`).

#### Telegraf Package

Expand Down
2 changes: 1 addition & 1 deletion tasks/Debian.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,4 +101,4 @@
notify: "Restart Telegraf"
become: yes
when:
- telegraf_agent_package_method != "repo"
- telegraf_agent_package_method == "online" or telegraf_agent_package_method == "offline"

0 comments on commit 8fdab6f

Please sign in to comment.