Merge "Verify lxc cache file after download"
This commit is contained in:
commit
4c9d94880f
@ -40,6 +40,7 @@ openstack_upstream_url: "http://{{ openstack_upstream_domain }}"
|
||||
lxc_container_caches:
|
||||
- url: "{{ openstack_upstream_url }}/container_images/rpc-trusty-container.tgz"
|
||||
name: "trusty.tgz"
|
||||
sha256sum: "56c6a6e132ea7d10be2f3e8104f47136ccf408b30e362133f0dc4a0a9adb4d0c"
|
||||
|
||||
|
||||
## RabbitMQ
|
||||
|
@ -68,3 +68,4 @@ lxc_apt_packages:
|
||||
# lxc_container_caches:
|
||||
# - url: "{{ openstack_upstream_url }}/container_images/rpc-trusty-container.tgz"
|
||||
# name: "trusty.tgz"
|
||||
# sha256sum: "56c6a6e132ea7d10be2f3e8104f47136ccf408b30e362133f0dc4a0a9adb4d0c"
|
||||
|
@ -19,7 +19,10 @@
|
||||
dest: "/var/cache/lxc_{{ item.name }}"
|
||||
mode: "0644"
|
||||
force: no
|
||||
sha256sum: "{{ item.sha256sum }}"
|
||||
register: cache_download
|
||||
retries: 3
|
||||
delay: 10
|
||||
until: cache_download|success
|
||||
with_items: lxc_container_caches
|
||||
tags:
|
||||
|
Loading…
x
Reference in New Issue
Block a user