From 77f3f6e75d7f4672a128c264a15832f1fd80c613 Mon Sep 17 00:00:00 2001 From: Jason Daly Date: Wed, 16 Oct 2019 23:10:34 -0400 Subject: [PATCH] use bool filter on bare variable to address Ansible 2.8 deprecation warning Signed-off-by: Jason Daly --- tasks/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tasks/main.yml b/tasks/main.yml index 330ac2e..ae5fdd3 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -10,12 +10,12 @@ tags: always - include: configure.yml - when: mysql_hardening_enabled + when: mysql_hardening_enabled | bool tags: - mysql_hardening - include: mysql_secure_installation.yml - when: mysql_hardening_enabled + when: mysql_hardening_enabled | bool tags: - mysql_hardening - mysql_secure_installation