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

Commit 33a85b2

Browse files
authored
Merge pull request #40 from deefour/patch/fix-bare-variable-deprecation
use bool filter on bare variable to address Ansible 2.8 deprecation warning
2 parents 2be7ce4 + 77f3f6e commit 33a85b2

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)