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

Disable MariaDB binary logging by default #521

Merged
merged 2 commits into from
Mar 22, 2016

Conversation

duncanjbrown
Copy link
Contributor

Fixes #520

@@ -17,10 +17,18 @@
name: mariadb-server
state: present

- name: Start MariaDB MySQL Server
- name: Disable MariaDB binary logging
when: binary_logging_disabled
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Small thing but can the when condition be put after the template action? That way it's consistent with the rest of the codebase.

@swalkinshaw
Copy link
Member

Thanks @duncanjbrown. Looks good other than my one comment 👍

This feature eats up disk space, and it’s not necessary unless you’re
doing DB replication, in which case you’ll have other things to configure
anyway.
This task was previously `Start`. It did nothing, because the `Install`
task already started the server. Now that there is extra config to pick up,
a restart is necessary.
@duncanjbrown duncanjbrown force-pushed the disable-binary-logging branch from 32719d2 to d05170b Compare March 22, 2016 10:33
@duncanjbrown
Copy link
Contributor Author

Updated

@swalkinshaw swalkinshaw merged commit ee8f1b8 into roots:master Mar 22, 2016
@swalkinshaw
Copy link
Member

Thanks :)

swalkinshaw added a commit that referenced this pull request Mar 22, 2016
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.

2 participants