From 4cf9fab536b4129161ebcdc32159cf6100e58f25 Mon Sep 17 00:00:00 2001 From: Simeon Keske Date: Tue, 17 Mar 2020 19:00:59 +0100 Subject: [PATCH] fix check for motd_path --- tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/main.yml b/tasks/main.yml index d247fc8..b220ce7 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -13,4 +13,4 @@ owner: root group: root mode: 0644 - when: motd_path and motd_path != '' + when: motd_path is not undefined and motd_path != ''