Toggle navigation
Toggle navigation
This project
Loading...
Sign in
ops
/
yoho-ansible-roles
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
root
2018-10-11 16:45:57 +0800
Commit
2c7498b62fed943d1d08da13948b4d9db9268c1a
1 parent
ecab160f
添加redis认证
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
roles/redis-cluster/templates/nutcracker.yml.j2
roles/redis-cluster/templates/redis.conf.j2
roles/redis-cluster/templates/nutcracker.yml.j2
View file @
2c7498b
...
...
@@ -4,6 +4,7 @@ alpha:
distribution: ketama
auto_eject_hosts: true
redis: true
redis_auth: redis9646
server_retry_timeout: 2000
server_failure_limit: 2
servers:
...
...
roles/redis-cluster/templates/redis.conf.j2
View file @
2c7498b
...
...
@@ -48,3 +48,4 @@ client-output-buffer-limit slave 256mb 64mb 60
client-output-buffer-limit pubsub 32mb 8mb 60
hz 10
aof-rewrite-incremental-fsync yes
requirepass redis9646
...
...
Please
register
or
login
to post a comment