--- - name: Restart mysql service: name: '{{ mysql_daemon }}' state: restarted when: mysql_hardening_restart_mysql | bool