Skip to content

Commit

Permalink
Merge pull request #40 from deefour/patch/fix-bare-variable-deprecation
Browse files Browse the repository at this point in the history
use bool filter on bare variable to address Ansible 2.8 deprecation warning
  • Loading branch information
rndmh3ro committed Oct 17, 2019
2 parents 2be7ce4 + 77f3f6e commit 33a85b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 33a85b2

Please sign in to comment.