Commit 0b21f1e0 by Maruyama

roles/redis: add become=yes

parent 13f318f5
......@@ -18,6 +18,7 @@
dest: /etc/redis.conf
regexp: "^port"
line: "port 0"
become: yes
- name: enable unix socket
blockinfile:
......@@ -25,16 +26,18 @@
block: |
unixsocket /tmp/redis.sock
unixsocketperm 770
become: yes
- name: start redis
service:
name: redis-server
state: restarted
enabled: yes
become: yes
- name: add user redis to group git
user:
name: redis
groups: git
append: yes
become: yes
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment