We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5bb966f + 395f9ed commit e92c2ceCopy full SHA for e92c2ce
tasks/secure-installation.yml
@@ -42,8 +42,8 @@
42
- name: Update MySQL root password for localhost root account (5.7.x).
43
shell: >
44
mysql -u root -NBe
45
- 'ALTER USER "{{ mysql_root_username }}"@"{{ item }}"
46
- IDENTIFIED WITH mysql_native_password BY "{{ mysql_root_password }}"; FLUSH PRIVILEGES;'
+ "ALTER USER '{{ mysql_root_username }}'@'{{ item }}'
+ IDENTIFIED WITH mysql_native_password BY '{{ mysql_root_password }}'; FLUSH PRIVILEGES;"
47
with_items: "{{ mysql_root_hosts.stdout_lines|default([]) }}"
48
when: >
49
((mysql_install_packages | bool) or mysql_root_password_update)
0 commit comments