mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-04-24 02:20:51 +08:00
Move image back to default in the playbook and clean up another duplicate.
This commit is contained in:
@@ -14,6 +14,7 @@
|
||||
vars:
|
||||
image: "{{ centos70_x86_64 }}"
|
||||
instance_type: m1.small
|
||||
image: "{{ centos70_x86_64 }}"
|
||||
|
||||
tasks:
|
||||
- name: fail when name is not provided
|
||||
|
||||
@@ -8,11 +8,9 @@
|
||||
- name: spin UP VM using nova_compute
|
||||
sudo: False
|
||||
local_action:
|
||||
image: "{{ centos70_x86_64 }}"
|
||||
instance_type: "{{ instance_type }}"
|
||||
security_groups: web-80-anywhere-transient,web-443-anywhere-transient,ssh-anywhere-transient,default
|
||||
region: nova
|
||||
image_id: "{{ image|image_name_to_id('admin', ADMIN_PASS, inventory_tenant, os_auth_url) }}"
|
||||
nics:
|
||||
- net-id: "28db7265-fb78-4937-bfe3-9c8a9b959c30"
|
||||
name: "{{ name }}"
|
||||
|
||||
Reference in New Issue
Block a user