blob: c4fcbcc672fcbb3d16be04a61e7564ba32d5a208 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
---
- name: Link control socket
file: src="/run/glusterd/{{ item }}" dest="/run/{{ item }}" state="link"
with_items:
- glusterd.socket
- gluster-blockd.socket
- name: Copy systemd unit to recreate link on re-start
copy: src="{{ item }}" dest="/etc/systemd/system/{{ item }}" owner="root" group="root" mode="0644"
with_items:
- gluster-link.service
- glusterblock-link.service
- name: Enable systemd unit
systemd: enabled=true name={{ item }} daemon_reload=yes
with_items:
- gluster-link.service
- glusterblock-link.service
- rpcbind
|