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

"mariadb : Ensure MariaDB users are present" failed #21

Open
ValentinKruegl opened this issue Feb 28, 2023 · 1 comment
Open

"mariadb : Ensure MariaDB users are present" failed #21

ValentinKruegl opened this issue Feb 28, 2023 · 1 comment

Comments

@ValentinKruegl
Copy link

we are using ubuntu-minimal on:
ubuntu 22.04
php reverted to 7.4. a
mariadb 10.6.12

TASK [mariadb : Ensure MariaDB users are present]

failed: [db1] (item=owncloud) => {"ansible_loop_var": "item", "changed": false, "item": {"host": "localhost", "name": "owncloud", "password": "owncloud", "priv": "owncloud.:ALL"}, "msg": "Error granting privileges, invalid priv string: ALL , params: ('', 'localhost'), query: GRANT ALL ON *****. TO %s@%s , exception: (1044, "Access denied for user 'root'@'localhost' to database '***'")."}

We fixed it by adding state = present to database.yml inside of the inventory

@enbrnz
Copy link
Contributor

enbrnz commented Feb 28, 2023

22.04 is so far untested for all ansible roles.
Not sure how we can securely add the zend repo for testing with molecule?

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

2 participants