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

@@ -20,8 +20,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
@@ -397,7 +397,7 @@
openstack.cloud.server_action:
cloud: "{{ cloud }}"
server: "{{ server_name }}"
image: "{{ image }}"
image: "{{ image_name }}"
action: rebuild
wait: true
register: server
@@ -418,7 +418,7 @@
openstack.cloud.server_action:
cloud: "{{ cloud }}"
server: "{{ server_name }}"
image: "{{ image }}"
image: "{{ image_name }}"
action: rebuild
wait: true
admin_password: random
@@ -562,8 +562,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