This repository has been archived on 2020-07-12. You can view files and clone it, but cannot push or open issues or pull requests.
ansible-redis/tasks/main.yml

17 lines
454 B
YAML

- name: Allow users on the private IP subnet to connect to redis
replace:
path: /etc/redis/redis.conf
regexp: "^bind .*"
replace: "bind {{ ansible_ens10.ipv4.address }}"
notify: Run service actions
tags:
- redis
- name: Change root to zfs pool
replace:
path: /etc/redis/redis.conf
regexp: "^dir .*"
replace: "dir {{ redis.data.path }}"
notify: Run service actions
tags:
- redis