From 936415d85d9d7471d7061b81f5f0d17164c9c795 Mon Sep 17 00:00:00 2001 From: zhihui wu Date: Wed, 17 Jan 2018 16:09:08 +0800 Subject: Add the creation/deletion of image in the pipeline - Specify image download and upload details JIRA: QTIP-291 Change-Id: I9f4e0d179f7d907b448b716274348fb6c71dd3bc Signed-off-by: zhihui wu --- resources/ansible_roles/openstack/tasks/main.yml | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) (limited to 'resources/ansible_roles/openstack/tasks/main.yml') diff --git a/resources/ansible_roles/openstack/tasks/main.yml b/resources/ansible_roles/openstack/tasks/main.yml index f4d3d18c..0b84923e 100644 --- a/resources/ansible_roles/openstack/tasks/main.yml +++ b/resources/ansible_roles/openstack/tasks/main.yml @@ -1,6 +1,6 @@ ############################################################################## -# Copyright (c) 2017 ZTE Corporation and others. -# taseer94@gmail.com +# Copyright (c) 2018 ZTE Corporation and others. +# # All rights reserved. This program and the accompanying materials # are made available under the terms of the Apache License, Version 2.0 # which accompanies this distribution, and is available at @@ -9,14 +9,4 @@ --- -- name: create qtip stack - os_stack: - name: "{{ stack_name }}" - state: present - template: heat_template.yml - parameters: - image_name: "{{ image_name }}" - flavor_name: "{{ flavor_name }}" - net_name: "{{ net_name }}" - subnet_name: "{{ subnet_name }}" - instance_name: "{{ inst_name }}" +- include_tasks: "{{ tasks }}.yml" -- cgit 1.2.3-korg