Jesse Pretorius efb3648384 Clean up CR's, whitespace and service description
This patch removes unnecessary whitespace and converts Windows
CR's to Unix LF's.

It also makes a small change to the default description for
Designate in the Keystone service catalogue to ensure that it
is more consistent with other services in OpenStack-Ansible.
2016-03-14 12:34:47 +00:00

53 lines
1.6 KiB
YAML

# Copyright 2016, Tata Consultancy Services
#
# 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 designate api
service:
name: "{{ designate_api_program_name }}"
state: "restarted"
pattern: "{{ designate_api_program_name }}"
- name: Restart designate central
service:
name: "{{ designate_central_program_name }}"
state: "restarted"
pattern: "{{ designate_central_program_name }}"
- name: Restart designate pool-manager
service:
name: "{{ designate_pool_manager_program_name }}"
state: "restarted"
pattern: "{{ designate_pool_manager_program_name }}"
- name: Restart designate mdns
service:
name: "{{ designate_mdns_program_name }}"
state: "restarted"
pattern: "{{ designate_mdns_program_name }}"
- name: Restart designate sink
service:
name: "{{ designate_sink_program_name }}"
state: "restarted"
pattern: "{{ designate_sink_program_name }}"
- name: Restart designate services
service:
name: "{{ item }}"
state: "restarted"
pattern: "{{ item }}"
with_items: designate_service_names
failed_when: false