create bootstrap_vms role to run vagrant file on host, creating managed vms (dkhost03 and dkhost04)

This commit is contained in:
2017-06-06 09:31:12 -04:00
parent 7374d7767b
commit a05d635641
18 changed files with 275 additions and 71 deletions

View File

@@ -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