From bdabdc9d800c1fd4d2b6e8e76271e3995c2914ad Mon Sep 17 00:00:00 2001 From: Reto Gantenbein Date: Sun, 31 Jul 2016 14:31:45 +0200 Subject: [PATCH] Fix missed variable rename, regression of 2a205da --- defaults/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/defaults/main.yml b/defaults/main.yml index fa7a045..c14fcab 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -135,7 +135,7 @@ checkmk_agent__hostname: '{{ ansible_fqdn }}' # Check_MK attributes and WATO tags used for managing the host. For more # details check :ref:`checkmk_agent__host_attributes`. checkmk_agent__host_attributes: - tag_agent: '{{ "cmk-agent-ssh" if "ssh" in checkmk_agent else "cmk-agent" }}' + tag_agent: '{{ "cmk-agent-ssh" if "ssh" in checkmk_agent__type|d(["ssh"]) else "cmk-agent" }}' # .. envvar:: checkmk_agent__discovery_mode