This fixes the following warning of Ansible:
"Module did not set no_log for update_password"
password={{ mysql_server_ansible_password }}
priv="*.*:ALL,GRANT"
state=present
+ no_log: true
- name: setup MySQL "root" account
tags:
password={{ mysql_server_root_password }}
priv="*.*:ALL,GRANT"
state=present
+ no_log: true
- name: Remove unwanted MySQL "root" accounts (1/2)
tags:
- "{{ ansible_hostname }}"
- "127.0.0.1"
- "::1"
+ no_log: true
- name: Remove unwanted MySQL "root" accounts (2/2)
tags:
with_items:
- "localhost"
when: mysql_server_root_host != "localhost"
+ no_log: true