summaryrefslogtreecommitdiffstats
path: root/kernel/drivers/usb/serial/wishbone-serial.c
diff options
context:
space:
mode:
authorJiang, Yunhong <yunhong.jiang@intel.com>2017-03-07 07:06:33 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-03-07 07:06:33 +0000
commit8902a7b3234a70b6a665cb2213193babe2550805 (patch)
treeb7ba826dada71fdcd09f7f41d73a81ca47b119b0 /kernel/drivers/usb/serial/wishbone-serial.c
parent77e6660ea78c5934e4b606a5342c4e0e64be1de6 (diff)
parent10713de83e93f478e2601a0e79f594d66cceb7dd (diff)
Merge "Add disk to vagrant for fuel plugin build"
Diffstat (limited to 'kernel/drivers/usb/serial/wishbone-serial.c')
0 files changed, 0 insertions, 0 deletions
r: #008800; background-color: #fff0ff } /* Literal.String.Regex */ .highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */ .highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
# Copyright (c) 2017 Intel Corporation.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#      http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
---
- name: Get all images
  shade_api:
    method: search_images
    fact_name: openstack_images
    args:
      - ~
  environment: "{{ openrc }}"

- debug:
    var: openstack_images

- set_fact:
    images_to_clean: "{{ openstack_images|map(attribute='name')|select('search', 'yardstick|cirros|Ubuntu-14\\.04')|list }}"

- debug:
    var: images_to_clean

- name: Cleanup images
  os_image:
    state: absent
    name: "{{ item }}"
  with_items: "{{ images_to_clean }}"
  environment: "{{ openrc }}"