2a199a9621
The variables tacker_developer_mode and tacker_venv_download no longer carry any meaning. This review changes tacker to do the equivalent of what developer_mode was all the time, meaning that it always builds the venv and never requires the repo server, but it will use a repo server when available. As part of this, we move the source build out of its own file because it's now a single task to include the venv build role. This is just to make it easier to follow the code. We also change include_tasks to import_tasks and include_role to import_role so that the tags in the python_venv_build role will work. In addition tacker init was replaced by the standard systemd_service role. Due to this was added new variable tacker_init_config_overrides. program_override variable has no influence now. In config notification_driver was deprecated in favor of driver from oslo_messaging_notifications Change-Id: Id5629cb631b23887383fa23f472052477edbc4eb
26 lines
894 B
YAML
26 lines
894 B
YAML
---
|
|
# (C)2016 Brocade Communications Systems, Inc.
|
|
# 130 Holger Way, San Jose, CA 95134.
|
|
# All rights reserved.
|
|
#
|
|
# 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 tacker services
|
|
service:
|
|
name: "{{ tacker_service_name }}"
|
|
enabled: yes
|
|
state: restarted
|
|
daemon_reload: "{{ (ansible_service_mgr == 'systemd') | ternary('yes', omit) }}"
|
|
listen:
|
|
- "venv changed"
|