You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently everything under "additional_parameters" section will be added to /etc/my.cnf as parameters before database initialization. However, if we add plugin-specific parameters (e.g. "validate_password_policy", the initialization process will fail.
`fatal: [172.28.128.9]: FAILED! => {"changed": false, "msg": "Unable to start service mysqld: Job for mysqld.service failed because the control process exited with error code. See \"systemctl status mysqld.service\" and \"journalctl -xe\" for details.\n"}`
The text was updated successfully, but these errors were encountered:
@colinleefish so, what is expected to be changed? Ansible does not know which MySQL parameter is related to which DB feature. It just controls the state of configuration.
How about another section like "additional_parameters_after_init" or something? While the original one is just what it is now, parameters here are added after everything is set and MySQL is fully operational. Without it, we may have to use post_tasks.
By the way, this role you guys made is awesome. It solved that root password problem what geerlingguy haven't.
@colinleefish I don't have an idea how to make the change you propose. But you can make a new pull request with your changes and we'll try to review and merge it very fast.
SUMMARY
Currently everything under "additional_parameters" section will be added to /etc/my.cnf as parameters before database initialization. However, if we add plugin-specific parameters (e.g. "validate_password_policy", the initialization process will fail.
ISSUE TYPE
COMPONENT NAME
ANSIBLE VERSION
CONFIGURATION
HOST_KEY_CHECKING(env: ANSIBLE_HOST_KEY_CHECKING) = False
OS / ENVIRONMENT
STEPS TO REPRODUCE
EXPECTED RESULTS
MySQL up and running
ACTUAL RESULTS
The text was updated successfully, but these errors were encountered: