2015-11-26 22:18:44 +10:30
|
|
|
---
|
|
|
|
# Copyright 2015, Rackspace US, Inc.
|
|
|
|
#
|
|
|
|
# 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: Restart ironic services
|
|
|
|
service:
|
2017-08-07 12:06:33 +01:00
|
|
|
name: "{{ item.service_name }}"
|
2015-11-26 22:18:44 +10:30
|
|
|
state: restarted
|
2017-08-07 12:06:33 +01:00
|
|
|
enabled: yes
|
|
|
|
daemon_reload: yes
|
|
|
|
with_list: "{{ filtered_ironic_services }}"
|
2018-03-27 22:17:57 +01:00
|
|
|
listen:
|
|
|
|
- "venv changed"
|
2016-11-21 10:00:00 -03:00
|
|
|
|
2015-11-27 12:59:56 +10:30
|
|
|
- name: Restart tftpd-hpa
|
|
|
|
service:
|
|
|
|
name: "tftpd-hpa"
|
|
|
|
state: restarted
|
|
|
|
failed_when: false
|
2016-02-15 09:39:27 +00:00
|
|
|
|
|
|
|
- name: Restart isc-dhcp-server
|
|
|
|
service:
|
|
|
|
name: "isc-dhcp-server"
|
|
|
|
state: restarted
|
|
|
|
failed_when: false
|