Merge "Fix inventory.ini for build_yardstick_image"
[yardstick.git] / ansible / migrate_pinning_teardown.yaml
1 ---
2 ##############################################################################
3 # Copyright (c) 2017 Huawei Technologies Co.,Ltd and others.
4 #
5 # All rights reserved. This program and the accompanying materials
6 # are made available under the terms of the Apache License, Version 2.0
7 # which accompanies this distribution, and is available at
8 # http://www.apache.org/licenses/LICENSE-2.0
9 ##############################################################################
10
11 - hosts: localhost
12   roles:
13     - delete_flavor
14
15 - hosts: nodes
16   roles:
17     - recover_nova_conf
18
19 - hosts: controller
20   roles:
21     - role: restart_nova_service
22       service: "nova-scheduler"
23     - role: restart_nova_service
24       service: "nova-api"
25     - role: restart_nova_service
26       service: "nova-conductor"
27
28 - hosts: compute
29   roles:
30     - role: restart_nova_service
31       service: "nova-compute"