summaryrefslogtreecommitdiffstats
path: root/bifrost/playbooks
diff options
context:
space:
mode:
authorMarkos Chandras <mchandras@suse.de>2018-03-08 11:39:42 +0000
committerMarkos Chandras <mchandras@suse.de>2018-03-08 12:24:02 +0000
commit20b01a6b7163971201a5aa0d6db354d80657d17f (patch)
tree43b4c80749ffa9e2f02064573af5974a8a8448ac /bifrost/playbooks
parente66847184999a84c472648e78d71e12b7c5b23d2 (diff)
bifrost: Ensure OS images are present in the PXE directory
The XCI deployment script may wipe the PXE directories so we need to place the OS images after this has happened so we don't download them every time. Change-Id: Iccf943bc75592e7f5dddea59dfee14b2b080e7ef Signed-off-by: Markos Chandras <mchandras@suse.de>
Diffstat (limited to 'bifrost/playbooks')
-rw-r--r--bifrost/playbooks/opnfv-virtual.yaml4
1 files changed, 2 insertions, 2 deletions
diff --git a/bifrost/playbooks/opnfv-virtual.yaml b/bifrost/playbooks/opnfv-virtual.yaml
index cfcb71a1..2ebf86f8 100644
--- a/bifrost/playbooks/opnfv-virtual.yaml
+++ b/bifrost/playbooks/opnfv-virtual.yaml
@@ -33,13 +33,13 @@
become: yes
- name: Download the {{ xci_distro }} image checksum file
get_url:
- dest: /httpboot/{{ xci_distro }}.qcow2.sha256.txt
+ dest: /httpboot/deployment_image.qcow2.sha256.txt
force: no
url: http://artifacts.opnfv.org/releng/xci/images/{{ xci_distro }}.qcow2.sha256.txt
timeout: 3000
become: yes
- name: Extract checksum
- shell: awk '{print $1}' /httpboot/{{ xci_distro }}.qcow2.sha256.txt
+ shell: awk '{print $1}' /httpboot/deployment_image.qcow2.sha256.txt
register: _image_checksum
- fail:
msg: "Failed to get image checksum"