Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

missing password parameters in commands #50

Open
Pepan opened this issue Feb 25, 2021 · 0 comments
Open

missing password parameters in commands #50

Pepan opened this issue Feb 25, 2021 · 0 comments

Comments

@Pepan
Copy link

Pepan commented Feb 25, 2021

in file bertvv.mariadb/tasks/root-password.yml in some sections is missing set of password parameter. I fixed it like this

- name: Check for previously set unix_socket in plugin column
  command: >
    mysql -N -s -S {{ mariadb_socket }} -u root -p{{ mariadb_root_password }} -e
    "SELECT plugin from mysql.user WHERE user = 'root'"
  register: plugin_root_result
  changed_when: plugin_root_result.stdout is search('unix_socket')
  when: root_pwd_check.rc == 0
  tags: mariadb

with -p{{ mariadb_root_password }} ...
It is also missing in Remove unix_socket plugin if previously set ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant