From eaab4634cdabfe2d41201f3824f78d14090c9e39 Mon Sep 17 00:00:00 2001 From: Josh Lay Date: Thu, 13 Jun 2019 20:15:47 -0500 Subject: [PATCH] forward compatibility - evaluate variable with filter --- roles/bootstrap/tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/bootstrap/tasks/main.yml b/roles/bootstrap/tasks/main.yml index 9b82d5c..b573743 100644 --- a/roles/bootstrap/tasks/main.yml +++ b/roles/bootstrap/tasks/main.yml @@ -40,7 +40,7 @@ line: ' - update_etc_hosts' path: /etc/cloud/cloud.cfg state: absent - when: is_cloudy + when: is_cloudy|bool - name: add hosts to /etc/hosts lineinfile: