diff --git a/defaults/main.yml b/defaults/main.yml index 463acfa9..b48f4ad4 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -19,6 +19,8 @@ redis_nofile_limit: 16384 ## Role options # Configure Redis as a service +redis_server: true + # This creates the init scripts for Redis and ensures the process is running # Also applies for Redis Sentinel redis_as_service: true diff --git a/tasks/main.yml b/tasks/main.yml index 77327f71..7d6502a3 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -14,7 +14,7 @@ - install - include: server.yml - when: not redis_sentinel + when: redis_server tags: - config