style: fix warning with new boolean style

This commit is contained in:
Adrien Waksberg 2019-06-03 20:23:58 +02:00
parent 0c5cd7d681
commit 07a4bdeefe
2 changed files with 3 additions and 3 deletions

View file

@ -3,4 +3,4 @@
service:
name: mysql
state: restarted
when: mariadb_autorestart
when: mariadb_autorestart|bool

View file

@ -52,7 +52,7 @@
loop: '{{ mariadb_users }}'
run_once: true
no_log: true
when: mariadb_master
when: mariadb_master|bool
tags: mariadb
- name: manage databases
@ -64,5 +64,5 @@
loop: '{{ mariadb_databases }}'
run_once: true
no_log: true
when: mariadb_master
when: mariadb_master|bool
tags: mariadb