Skip to content
This repository was archived by the owner on Nov 17, 2020. It is now read-only.

Commit 77f3f6e

Browse files
committed
use bool filter on bare variable to address Ansible 2.8 deprecation warning
Signed-off-by: Jason Daly <[email protected]>
1 parent 2be7ce4 commit 77f3f6e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tasks/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@
1010
tags: always
1111

1212
- include: configure.yml
13-
when: mysql_hardening_enabled
13+
when: mysql_hardening_enabled | bool
1414
tags:
1515
- mysql_hardening
1616

1717
- include: mysql_secure_installation.yml
18-
when: mysql_hardening_enabled
18+
when: mysql_hardening_enabled | bool
1919
tags:
2020
- mysql_hardening
2121
- mysql_secure_installation

0 commit comments

Comments
 (0)