Xicheng Chang 70360bca6a Changed ansible code structure.
Moved roles to the parent directory
so that different adapters don't have
duplicated roles in their respective
paths.

Change-Id: Ia71c473b33fed94276d4d0b4764b2f4ab2e988e0
2015-05-21 20:30:15 -07:00

3 lines
298 B
Bash

sleep 10
glance --os-username=admin --os-password={{ ADMIN_PASS }} --os-tenant-name=admin --os-auth-url=http://{{ identity_host }}:35357/v2.0 image-create --name="cirros" --disk-format=qcow2 --container-format=bare --is-public=true < /opt/{{ build_in_image_name }} && touch glance.import.completed