Update docker cluster
add glusterfs client
This commit is contained in:
parent
6a6a488abd
commit
39af684fb7
15
roles/docker-cluster/tasks/gluster.yml
Normal file
15
roles/docker-cluster/tasks/gluster.yml
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
---
|
||||||
|
- become: yes
|
||||||
|
block:
|
||||||
|
- name: install glusterfs-client
|
||||||
|
apt:
|
||||||
|
update_cache: yes
|
||||||
|
pkg:
|
||||||
|
- glusterfs-client
|
||||||
|
|
||||||
|
- name: add mount for glusterfs data
|
||||||
|
mount:
|
||||||
|
path: /srv
|
||||||
|
src: 192.168.50.100:/gv0
|
||||||
|
fstype: glusterfs
|
||||||
|
state: present
|
@ -7,6 +7,8 @@
|
|||||||
|
|
||||||
- import_tasks: nfs-client.yml
|
- import_tasks: nfs-client.yml
|
||||||
|
|
||||||
|
- import_tasks: gluster.yml
|
||||||
|
|
||||||
- import_tasks: hearthbeat.yml
|
- import_tasks: hearthbeat.yml
|
||||||
|
|
||||||
- import_tasks: hostfile.yml
|
- import_tasks: hostfile.yml
|
||||||
|
Loading…
Reference in New Issue
Block a user