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

Change-Id: I09a133b5c4f6c71e10d274be1c70b7edcce1c83c
(cherry picked from commit a8f6dbd904)
This commit is contained in:
Jakob Meng
2022-11-03 14:37:00 +01:00
parent 84160f6f78
commit a11943d9b1
9 changed files with 51 additions and 48 deletions

View File

@@ -3,8 +3,8 @@
cloud: "{{ cloud }}"
state: present
name: "{{ server_name }}"
image: "{{ image }}"
flavor: "{{ flavor }}"
image: "{{ image_name }}"
flavor: "{{ flavor_name }}"
network: "{{ server_network }}"
auto_floating_ip: false
wait: true
@@ -380,7 +380,7 @@
openstack.cloud.server_action:
cloud: "{{ cloud }}"
server: "{{ server_name }}"
image: "{{ image }}"
image: "{{ image_name }}"
action: rebuild
wait: true
register: server
@@ -401,7 +401,7 @@
openstack.cloud.server_action:
cloud: "{{ cloud }}"
server: "{{ server_name }}"
image: "{{ image }}"
image: "{{ image_name }}"
action: rebuild
wait: true
admin_password: random
@@ -538,8 +538,8 @@
cloud: "{{ cloud_alt }}"
state: present
name: "{{ server_alt_name }}"
image: "{{ image }}"
flavor: "{{ flavor }}"
image: "{{ image_name }}"
flavor: "{{ flavor_name }}"
network: "{{ server_alt_network }}"
auto_floating_ip: false
wait: true