Merge pull request #117 from wingcon/master

added installation method manual - skip installation
This commit is contained in:
Werner Dijkerman
2020-03-18 20:54:32 +01:00
committed by GitHub
2 changed files with 4 additions and 3 deletions

View File

@ -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

View File

@ -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"