aboutsummaryrefslogtreecommitdiffstats
path: root/ansible/roles/create_image/tasks/main.yml
blob: f63489d2d524e9849b4059e6479e29e68c6265fd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# 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: pre-clean openstack enviroment
  hosts: yardstick
  vars_files:
    - yardstick_config.yml

  roles:
    - convert_openrc
    - clean_images
    - clean_flavors
an class="nt">default: {} type: json RoleName: default: '' description: Role name on which the service is applied type: string RoleParameters: default: {} description: Parameters specific to the role type: json EndpointMap: default: {} description: Mapping of service endpoint -> protocol. Typically set via parameter_defaults in the resource registry. type: json NovaSchedulerAvailableFilters: default: [] description: List of scheduler available filters type: comma_delimited_list NovaSchedulerDefaultFilters: type: comma_delimited_list default: [] description: > An array of filters used by Nova to filter a node.These filters will be applied in the order they are listed, so place your most restrictive filters first to make the filtering process more efficient. MonitoringSubscriptionNovaScheduler: default: 'overcloud-nova-scheduler' type: string NovaSchedulerLoggingSource: type: json default: tag: openstack.nova.scheduler path: /var/log/nova/nova-scheduler.log resources: NovaBase: type: ./nova-base.yaml properties: ServiceNetMap: {get_param: ServiceNetMap} DefaultPasswords: {get_param: DefaultPasswords} EndpointMap: {get_param: EndpointMap} RoleName: {get_param: RoleName} RoleParameters: {get_param: RoleParameters} outputs: role_data: description: Role data for the Nova Scheduler service. value: service_name: nova_scheduler monitoring_subscription: {get_param: MonitoringSubscriptionNovaScheduler} logging_source: {get_param: NovaSchedulerLoggingSource} logging_groups: - nova config_settings: map_merge: - get_attr: [NovaBase, role_data, config_settings] - nova::ram_allocation_ratio: '1.0' nova::scheduler::filter::scheduler_available_filters: {get_param: NovaSchedulerAvailableFilters} nova::scheduler::filter::scheduler_default_filters: {get_param: NovaSchedulerDefaultFilters} step_config: | include tripleo::profile::base::nova::scheduler upgrade_tasks: - name: Stop nova_scheduler service tags: step1 service: name=openstack-nova-scheduler state=stopped