Permalink
aeb5daf Jul 28, 2016
@heckj @DavidjohnBlodgett @benbp
40 lines (35 sloc) 1.32 KB
---
- file: path="{{ http_static_directory }}/common" state=directory
owner="{{ ansible_env.USER }}" mode=0755
sudo: yes
- file: path="{{ tftp_static_directory }}" state=directory
owner="{{ ansible_env.USER }}" mode=0755
sudo: yes
- name: retrieve microkernel and overlays from bintray
get_url: url="https://bintray.com/artifact/download/rackhd/binary/builds/{{ item }}"
dest="{{ http_static_directory }}/common/{{ item }}"
validate_certs=no
force=yes
with_items:
- discovery.overlay.cpio.gz
- base.trusty.3.16.0-25-generic.squashfs.img
- initrd.img-3.16.0-25-generic
- vmlinuz-3.16.0-25-generic
- name: retrieve the latest bootloaders from bintray
get_url: url="https://bintray.com/artifact/download/rackhd/binary/ipxe/{{ item }}"
dest="{{ tftp_static_directory }}/{{ item }}"
validate_certs=no
force=yes
with_items:
- monorail.ipxe
- monorail-undionly.kpxe
- monorail-efi32-snponly.efi
- monorail-efi64-snponly.efi
- monorail.intel.ipxe
- name: retrieve the latest syslinux bootloader from bintray
get_url: url="https://bintray.com/artifact/download/rackhd/binary/syslinux/{{ item }}"
dest="{{ tftp_static_directory }}/{{ item }}"
validate_certs=no
force=yes
with_items:
- undionly.kkpxe