Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- datastores:
- live:
- name: live
- stores:
- iso:
- name: iso
- path: iso
- cfg:
- name: cfg
- path: cfg
- scratch:
- name: scratch
- path: scratch
- - name: map stores to paths string
- set_fact:
- _stores: |-
- {% for datastore in datastores.keys() %}
- {% for key, val in datastores[datastore]['stores'].items() %}
- /vmfs/volumes/{{ datastore }}/{{ val['path'] }}{{ ',' -}}
- {% endfor %}
- {% endfor %}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement