Skip to content

Instantly share code, notes, and snippets.

@jrisch
Created November 30, 2017 10:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save jrisch/5ee28dce072557970b967a73c11adfc0 to your computer and use it in GitHub Desktop.
Save jrisch/5ee28dce072557970b967a73c11adfc0 to your computer and use it in GitHub Desktop.
- name: Load bootargs and install repo for Debian install
include_vars:
file=group_vars/Debian.yml
when: '"Debian" in vm_template'
- name: Load bootargs and install repo for Ubuntu install
include_vars:
file=group_vars/Ubuntu.yml
when: '"Ubuntu" in vm_template'
- name: Set preseed boot options
command: xe vm-param-set uuid={{ vmuuid.stdout }} PV-args="{{ boot_args }}"
- name: Set install repository
command: xe vm-param-set uuid={{ vmuuid.stdout }} other-config:install-repository={{ install_repository }}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment