-
Notifications
You must be signed in to change notification settings - Fork 288
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
Add replication role detection from runtime Redis information #128
Open
danielkza
wants to merge
17
commits into
DavidWittman:master
Choose a base branch
from
danielkza:replication-role-detection
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Add replication role detection from runtime Redis information #128
danielkza
wants to merge
17
commits into
DavidWittman:master
from
danielkza:replication-role-detection
Commits on Nov 25, 2016
-
Add fact scripts to retrieve per-instance information
Export Redis information (as retrieved by the INFO) command as local facts for each configured server/sentinel instance. Those facts are created in addition to the existing global facts, and are identified by keys in the form of `redis_{{ redis_port }}` and `redis_sentinel_{{ redis_sentinel_port }}`.
Configuration menu - View commit details
-
Copy full SHA for e348b89 - Browse repository at this point
Copy the full SHA e348b89View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7adbe54 - Browse repository at this point
Copy the full SHA 7adbe54View commit details -
Configuration menu - View commit details
-
Copy full SHA for c9b8b1f - Browse repository at this point
Copy the full SHA c9b8b1fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2f1d2ad - Browse repository at this point
Copy the full SHA 2f1d2adView commit details -
Configuration menu - View commit details
-
Copy full SHA for ce93af8 - Browse repository at this point
Copy the full SHA ce93af8View commit details -
Install pre-daemon script to preserve config rewrites
The script will copy over the contents of the main configuration file, then any new lines added to the running config file after the CONFIG REWRITE tag line. This way Redis Sentinel information and dynamic master/slave status is not lost when re-configuring instances.
Configuration menu - View commit details
-
Copy full SHA for de3f7dd - Browse repository at this point
Copy the full SHA de3f7ddView commit details -
Configuration menu - View commit details
-
Copy full SHA for 05886a6 - Browse repository at this point
Copy the full SHA 05886a6View commit details -
Configuration menu - View commit details
-
Copy full SHA for b4ba397 - Browse repository at this point
Copy the full SHA b4ba397View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8483d87 - Browse repository at this point
Copy the full SHA 8483d87View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1150309 - Browse repository at this point
Copy the full SHA 1150309View commit details -
Configuration menu - View commit details
-
Copy full SHA for 102b7f8 - Browse repository at this point
Copy the full SHA 102b7f8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 14e1ac7 - Browse repository at this point
Copy the full SHA 14e1ac7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2717edf - Browse repository at this point
Copy the full SHA 2717edfView commit details -
Explicitly run systemd module with daemon-reload when necessary
The service module doesn't accept implementation-specific arguments before Ansible 2.2.
Configuration menu - View commit details
-
Copy full SHA for 6d5b53f - Browse repository at this point
Copy the full SHA 6d5b53fView commit details -
Fix Redis sentinel configuration file permissions
The Sentinel config file contains the Redis password, and therefore, cannot be publicly readable. Also ensure files have the redis group set.
Configuration menu - View commit details
-
Copy full SHA for 06ceaa0 - Browse repository at this point
Copy the full SHA 06ceaa0View commit details -
- Reduce verbosity - Only set permissions of dynamic config file (not it's containing directory) - Correctly use redis user and group from template
Configuration menu - View commit details
-
Copy full SHA for fa8e1a8 - Browse repository at this point
Copy the full SHA fa8e1a8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 14e92d6 - Browse repository at this point
Copy the full SHA 14e92d6View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.