summaryrefslogtreecommitdiffstats
path: root/roles/glusterfs/tasks/setup-openshift-server.yml
blob: 20ebbf85ff2ad3da287c492293ebfb9ec0f4745c (plain)
1
2
3
4
5
6
7
8
9
---
- name: Link control socket
  file: src="/run/glusterd/glusterd.socket" dest="/run/glusterd.socket" state="link"

- name: Copy systemd unit to recreate link on re-start
  copy: src="gluster-link.service" dest="/etc/systemd/system/gluster-link.service" owner="root" group="root" mode="0644"

- name: Enable systemd unit 
  systemd: enabled=true name=gluster-link daemon_reload=yes