Files
openstack-ansible-os_cloudk…/tasks/cloudkitty_init.yml
Jimmy McCrory 15c80abdbc Implement Multi-OS support in os_cloudkitty
This change implements support for Xenial and CentOS 7 within the
os_cloudkitty role.

Change-Id: Id2abe9099171080bd3d3ceb3a54222a5dfdefe2f
Implements: blueprint multi-platform-host
2016-08-02 08:07:58 +00:00

35 lines
1.3 KiB
YAML

---
# Copyright 2016, 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.
- include: cloudkitty_init_common.yml
vars:
program_name: "{{ cloudkitty_service_program_name }}"
service_name: "{{ cloudkitty_service_name }}"
system_user: "{{ cloudkitty_system_user_name }}"
system_group: "{{ cloudkitty_system_group_name }}"
service_home: "{{ cloudkitty_system_home_folder }}"
when: >
inventory_hostname in groups['cloudkitty_api']
- include: cloudkitty_init_common.yml
vars:
program_name: "{{ cloudkitty_service_processor_program_name }}"
service_name: "{{ cloudkitty_service_name }}"
system_user: "{{ cloudkitty_system_user_name }}"
system_group: "{{ cloudkitty_system_group_name }}"
service_home: "{{ cloudkitty_system_home_folder }}"
when: >
inventory_hostname in groups['cloudkitty_api']