blob: 83ec1f14cc0f2085af3b5b8c388168708c38f476 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
---
- hosts: all
tasks:
- copy:
src: "{{ lookup('env', 'WORKSPACE') }}/{{ item }}"
dest: "/home/heat-admin/{{ item }}"
owner: heat-admin
group: heat-admin
mode: 0775
with_items:
- cirros-0.3.5-x86_64-disk.img
- overcloudrc
- name: Upload cirros glance image
shell: >
source /home/heat-admin/overcloudrc && openstack image create
cirros-0.3.5-x86_64-disk --public
--file /home/heat-admin/cirros-0.3.5-x86_64-disk.img
--disk-format qcow2 --container-format bare
|