blob: 9bed8d02899fc0ace37cdbc60d9baf755e531b07 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
- name: Verify variables are set
assert:
that: "{{ item }} is defined"
msg: Run erp_get_build role first
with_items:
- erp_debian_installer_environment
- erp_latest_build
# TODO: Replace with API call, once supported.
- name: Upload build to Cambridge Lab
pause:
prompt: "Upload ./builds/debian-{{erp_debian_installer_environment}}/{{erp_latest_build}}/ files to http://172.27.80.1:5000/admin/images with description 'debian-installer {{erp_debian_installer_environment}} Build {{erp_latest_build}}'. Press <enter> key when complete"
# TODO: Replace with API call, once supported.
- name: Edit Machines
pause:
prompt: "In Mr. Provisioner, modify each machine in your host group to {{erp_latest_build}}. <enter> once complete"
# TODO: Replace with API call, once supported.
- name: Reboot machines and install OS
pause:
prompt: "In Mr. Provisioner, PXE Reboot each machine to install new OS. <enter> once complete"
|