You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
379 B
YAML
20 lines
379 B
YAML
---
|
|
|
|
- name: Install required packages
|
|
apt:
|
|
state: present
|
|
name:
|
|
- redis-server
|
|
|
|
- name: Disable default instance
|
|
systemd:
|
|
name: "{{ global_redis_service_name }}"
|
|
state: stopped
|
|
enabled: no
|
|
masked: yes
|
|
|
|
- name: Remove configuration for default instance
|
|
file:
|
|
state: absent
|
|
path: "{{ global_redis_configuration_directory }}/redis.conf"
|