paulbsd-salt/states/redis/config.sls
Paul 579264ad93
All checks were successful
continuous-integration/drone/push Build is passing
updated redis state
2024-08-31 08:22:26 +02:00

21 lines
398 B
Plaintext

---
redis-config-dir:
file.directory:
- name: /etc/redis
- user: redis
- group: redis
- mode: 0755
redis-config:
file.managed:
- name: /etc/redis/redis.conf
- source: salt://redis/templates/redis.conf.j2
- user: redis
- group: redis
- mode: 0644
- template: jinja
- watch_in:
- service: redis-service
- require:
- pkg: redis-install