Skip to content

Fix #274: Always register the mysql_cli_version variable #275

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

Merged
merged 1 commit into from
Sep 9, 2018
Merged

Fix #274: Always register the mysql_cli_version variable #275

merged 1 commit into from
Sep 9, 2018

Conversation

andreykaipov
Copy link
Contributor

This fixes #274 caused by my previous PR #273. Since the my.cnf.j2 template now uses the msql_cli_version var to determine if some settings shouldn't be there, it has to always run in normal mode.

Unfortunately when running this role in check mode on a clean host, this task will fail because the mysql binary won't initally be available. However, even before PR #273, this role failed in check mode on a clean host on Set ownership on error log file because the file wouldn't exist, so I hope the earlier failure now isn't unexpected.

@andreykaipov andreykaipov mentioned this pull request Sep 8, 2018
@geerlingguy geerlingguy merged commit 6afec2b into geerlingguy:master Sep 9, 2018
kietnguyen pushed a commit to kietnguyen/ansible-role-mysql that referenced this pull request Apr 9, 2020
…egister-mysql-version

Fix geerlingguy#274: Always register the mysql_cli_version variable
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

Successfully merging this pull request may close these issues.

check_mode broken
2 participants