Correcting file names for ubuntu image extraction
This commit is contained in:
parent
e280866527
commit
7ea26335e9
@ -254,7 +254,7 @@
|
|||||||
# TODO(Julia) This needs to be entirely variablized and made a toggable setting, or auto-discovered?
|
# TODO(Julia) This needs to be entirely variablized and made a toggable setting, or auto-discovered?
|
||||||
# Anything better!
|
# Anything better!
|
||||||
- name: "Download Ubuntu image"
|
- name: "Download Ubuntu image"
|
||||||
local_action: get_url url=http://cloud-images.ubuntu.com/releases/trusty/release/ubuntu-14.04-server-cloudimg-amd64.tar.gz dest={{ deploy_image }}
|
local_action: get_url url=http://cloud-images.ubuntu.com/releases/trusty/release/ubuntu-14.04-server-cloudimg-amd64.tar.gz dest=/httpboot/ubuntu-14.04-server-cloudimg-amd64.tar.gz
|
||||||
when: test_os_image_present.stat.exists == false
|
when: test_os_image_present.stat.exists == false
|
||||||
- name: "Extract Ubuntu image"
|
- name: "Extract Ubuntu image"
|
||||||
local_action: command tar -xvzf ubuntu-14.04-server-cloudimg-amd64.tar.gz chdir=/httpboot creates=/httpboot/trusty-server-cloudimg-amd64.img
|
local_action: command tar -xvzf ubuntu-14.04-server-cloudimg-amd64.tar.gz chdir=/httpboot creates=/httpboot/trusty-server-cloudimg-amd64.img
|
||||||
|
Loading…
x
Reference in New Issue
Block a user