Linaro.erp-get-build

ERP Get Build

Download an Enterprise Reference Platform (ERP) release.

By default, this role will discover the latest staging ERP build by qeurying 'erp_installer_download_urls_api', set 'erp_build_number' number, and download the build to ./builds/debian-staging/.

Role Variables

In:

variable description default
erp_installer_distro [debian|centos] debian
erp_installer_environment [staging|stable] staging
erp_build_number ERP build to retrieve Defaults to false, in which case it will be set to the latest build number
erp_installer_download_urls_api Used to discover available builds and set erp_build_number http://snapshots.linaro.org/api/ls/96boards/reference-platform/components/debian-installer-staging/
erp_installer_download_urls Used to download build http://snapshots.linaro.org/96boards/reference-platform/components/debian-installer-staging/
erp_image_remote_paths ERP build images to retrieve kernel: "debian-installer/arm64/linux", initrd: "debian-installer/arm64/initrd.gz"

Out:

variable description example
erp_build_number Latest build number, based on erp_debian_installer_environment 430

For convenience with ansible-role-mr-provisioner, this role will also set the following variables:

  • mr_provisioner_kernel_description: i.e. "debian-installer staging build 495"
  • mr_provisioner_initrd_description: i.e. "debian-installer staging build 495"
  • mr_provisioner_kernel_path: i.e. "./builds/debian-staging/495/linux"
  • mr_provisioner_initrd_path: i.e. "./builds/debian-staging/495/initrd.gz"

Dependencies

None

Example Playbook

- hosts: servers
  roles:
    - role: Linaro.erp-get-build

License

BSD

Author Information

Dan Rue dan.rue@linaro.org

About

Download an Enterprise Reference Platform (ERP) release

Install
ansible-galaxy install Linaro.erp-get-build
GitHub repository
License
bsd-2-clause
Downloads
711
Owner