blob: bdf5c55c08c77b2db46a640393dfd793775278b8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
---
- hosts: all
tasks:
- copy:
src: "{{ 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
--public --file /home/heat-admin/cirros-0.3.5-x86_64-disk.img
--disk-format qcow2 --container-format bare
|