Skip to content

Instantly share code, notes, and snippets.

@v1k0d3n
Last active March 24, 2016 22:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save v1k0d3n/6b2e210b1dbfcf3a075b to your computer and use it in GitHub Desktop.
Save v1k0d3n/6b2e210b1dbfcf3a075b to your computer and use it in GitHub Desktop.
- name: centos creating pxeboot for {{ pxe_hostname }}
command: pxeboot -a -K http://{{ pxe_server }}/kickstart/CentOS/{{ pxe_deploy_type }}s/{{ pxe_hostname }} -O {{ pxe_image_name }} -r 1024 {{ pxe_fixedaddr }}
when: pxe_os == "centos"
- name: ubuntu creating pxeboot for {{ pxe_hostname }}
command: pxeboot -a -K http://{{ pxe_server }}/kickstart/{{ pxe_os }}/{{ pxe_deploy_type }}s/{{ pxe_hostname }} -O {{ pxe_image_name }} -r 1024 {{ pxe_fixedaddr }}
when: pxe_os == "ubuntu"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment