diff --git a/README.md b/README.md index 5b61b21..4310ebf 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/tasks/Debian.yml b/tasks/Debian.yml index cfb9d05..d7e2485 100644 --- a/tasks/Debian.yml +++ b/tasks/Debian.yml @@ -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"