Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions tasks/main.yml
Original file line number Diff line number Diff line change
@@ -1,35 +1,35 @@
---
- include: check_vars.yml
- include_tasks: check_vars.yml

- include: download.yml
- include_tasks: download.yml
when: redis_install_from_source
tags:
- download

- include: dependencies.yml
- include_tasks: dependencies.yml
when: redis_install_from_source
tags:
- install

- include: install.yml
- include_tasks: install.yml
when: redis_install_from_source
tags:
- install

- include: install_from_repo.yml
- include_tasks: install_from_repo.yml
when: not redis_install_from_source
tags:
- install

- include: server.yml
- include_tasks: server.yml
when: not redis_sentinel
tags:
- config

- include: sentinel.yml
- include_tasks: sentinel.yml
when: redis_sentinel
tags:
- config

- include: local_facts.yml
- include_tasks: local_facts.yml
when: redis_local_facts|bool
4 changes: 2 additions & 2 deletions templates/redis.conf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# General
daemonize {{ redis_daemonize }}
protected-mode {{ redis_protected_mode }}
#protected-mode {{ redis_protected_mode }}
pidfile {{ redis_pidfile }}
dir {{ redis_dir }}
port {{ redis_port }}
Expand Down Expand Up @@ -104,4 +104,4 @@ aof-rewrite-incremental-fsync yes
{% if redis_config_additional|length -%}
# Additional
{{ redis_config_additional -}}
{% endif -%}
{% endif -%}