17 lines
454 B
YAML
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
|