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

Commit

Permalink
use bool filter on bare variable to address Ansible 2.8 deprecation w…
Browse files Browse the repository at this point in the history
…arning

Signed-off-by: Jason Daly <[email protected]>
  • Loading branch information
deefour committed Oct 17, 2019
1 parent 2be7ce4 commit 77f3f6e
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 77f3f6e

Please sign in to comment.