solar/bootstrap/playbooks/custom-configs.yml
2015-08-06 10:57:48 +02:00

8 lines
169 B
YAML

---
- hosts: all
sudo: yes
tasks:
- lineinfile: line='slaveof {{ master_ip }} 6379' dest=/etc/redis/redis.conf
- service: name=redis-server state=restarted