write image as name instead of id
This commit is contained in:
parent
b6df57c85a
commit
e1e3ff5e93
2 changed files with 4 additions and 3 deletions
|
@ -40,7 +40,7 @@
|
|||
login_password: "{{ADMIN_PASS}}"
|
||||
login_tenant_name: "{{inventory_tenant}}"
|
||||
name: "{{inventory_instance_name}}"
|
||||
image_id: "{{ image }}"
|
||||
image_id: "{{ image|image_name_to_id('admin', ADMIN_PASS, inventory_tenant, os_auth_url) }}"
|
||||
wait_for: 300
|
||||
flavor_id: "{{ instance_type|flavor_name_to_id('admin', ADMIN_PASS, inventory_tenant, os_auth_url) }}
|
||||
security_groups: "{{security_group}}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue