Advertisement
Guest User

Untitled

a guest
Jun 20th, 2019
135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. datastores:
  2. live:
  3. name: live
  4. stores:
  5. iso:
  6. name: iso
  7. path: iso
  8. cfg:
  9. name: cfg
  10. path: cfg
  11. scratch:
  12. name: scratch
  13. path: scratch
  14.  
  15.  
  16. - name: map stores to paths string
  17. set_fact:
  18. _stores: |-
  19. {% for datastore in datastores.keys() %}
  20. {% for key, val in datastores[datastore]['stores'].items() %}
  21. /vmfs/volumes/{{ datastore }}/{{ val['path'] }}{{ ',' -}}
  22. {% endfor %}
  23. {% endfor %}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement