Skip to content

Commit edebd81

Browse files
MaxBed4dseunghun1ee
authored andcommitted
Share image and test add aufn project
1 parent ae13db3 commit edebd81

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

etc/kayobe/ansible/openstack-host-image-upload.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,17 @@
4242
disk_format: qcow2
4343
state: present
4444
filename: "{{ local_image_path }}"
45+
visibility: shared
46+
register: image
47+
48+
- name: Ensure dependencies are installed
49+
pip:
50+
name: python-openstackclient
51+
virtualenv: "{{ ansible_python_interpreter | dirname | dirname }}"
52+
53+
# Allow users in stackhpc-aufn to use these images.
54+
- name: Add image to stackhpc-dev project
55+
command: openstack image add project {{ image.image.id }} 3d279fd978df4b18b2174cf336f25c9b
4556

4657
always:
4758
- name: Remove clouds.yaml

0 commit comments

Comments
 (0)