Fix command quotes

This commit is contained in:
Jorge-Rodriguez 2021-02-11 18:02:08 +02:00
parent d3d68e44a0
commit f43676cb1f
No known key found for this signature in database
GPG key ID: 43153D1EFD8F7D90

View file

@ -87,7 +87,7 @@
ignore_errors: yes
- name: store user2 grants with new password
command: "{{ mysql_command }} -e SHOW GRANTS FOR '{{ user_name_2 }}'@'localhost'\""
command: "{{ mysql_command }} -e \"SHOW GRANTS FOR '{{ user_name_2 }}'@'localhost'\""
register: user_password_new
when: user_password_new_create is failed