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

only set slaveof when not current redis server #155

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

awr
Copy link
Contributor

@awr awr commented Mar 10, 2017

The goal here is to be able to use the same configs for both master and slave (from the external playbook). If the defined slaveof is the current redis server, then avoid setting the slave at all.

In my case, I've got 20+ lines in the yaml file to override the defaults, and I don't want to duplicate those values for master and slave setup.

Not sure if this lines up with your general direction of the repo, so please feel free to disregard.

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.

1 participant