create bootstrap_vms role to run vagrant file on host, creating managed vms (dkhost03 and dkhost04)
This commit is contained in:
@@ -29,6 +29,18 @@
|
||||
name: "{{ item.key }}"
|
||||
brick: '{{ item.value | join(",")}}'
|
||||
rebalance: no
|
||||
replicas: 2
|
||||
cluster: "{{cluster}}"
|
||||
with_dict: "{{volumes}}"
|
||||
run_once: true
|
||||
|
||||
# manage volumes
|
||||
- name: create tmp gluster volumes
|
||||
gluster_volume:
|
||||
state: present
|
||||
name: "tmp"
|
||||
brick: '/data/glusterfs/tmp/brick1/brick'
|
||||
rebalance: no
|
||||
replicas: 2
|
||||
cluster: "{{cluster}}"
|
||||
run_once: true
|
||||
|
||||
Reference in New Issue
Block a user