Skip to content

Instantly share code, notes, and snippets.

@jrisch
Created November 30, 2017 09:53
Show Gist options
  • Save jrisch/e9d6e394b4117833199452ea98c00a48 to your computer and use it in GitHub Desktop.
Save jrisch/e9d6e394b4117833199452ea98c00a48 to your computer and use it in GitHub Desktop.
- name: Get UUID of share SR
command: xe sr-list name-label="{{ sr_name }}" --minimal
register: sruuid
- name: Get the UUID of the VM template
command: xe template-list name-label="{{ vm_template }}" --minimal
register: templateuuid
- name: Get the UUID of the network
command: xe network-list name-label="{{ network_name }}" --minimal
register: networkuuid
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment