diff --git a/tasks/main.yml b/tasks/main.yml index 11f3c34f..5e0324b8 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -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 diff --git a/templates/redis.conf.j2 b/templates/redis.conf.j2 index 04e24a4f..ad109395 100644 --- a/templates/redis.conf.j2 +++ b/templates/redis.conf.j2 @@ -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 }} @@ -104,4 +104,4 @@ aof-rewrite-incremental-fsync yes {% if redis_config_additional|length -%} # Additional {{ redis_config_additional -}} -{% endif -%} \ No newline at end of file +{% endif -%}