Renamed image->image_name and flavor->flavor_name to avoid collisions

Change-Id: I09a133b5c4f6c71e10d274be1c70b7edcce1c83c
This commit is contained in:
Jakob Meng
2022-11-03 14:37:00 +01:00
parent b3c2e8f1ce
commit a8f6dbd904
11 changed files with 77 additions and 76 deletions

View File

@@ -55,7 +55,6 @@
name: "{{ test_volume_image }}"
filename: "{{ tmp_file.path }}"
disk_format: raw
tags: "{{ image_tags }}"
- name: Create volume from image
openstack.cloud.volume:
@@ -76,21 +75,19 @@
openstack.cloud.image:
cloud: "{{ cloud }}"
state: present
name: "{{ image_name }}"
name: ansible_image
filename: "{{ tmp_file.path }}"
is_public: true
disk_format: raw
tags: "{{ image_tags }}"
- name: Delete test shared image
openstack.cloud.image:
cloud: "{{ cloud }}"
state: absent
name: "{{ image_name }}"
name: ansible_image
filename: "{{ tmp_file.path }}"
is_public: true
disk_format: raw
tags: "{{ image_tags }}"
always:
- name: Remove temporary image file