openstack-ansible-os_barbican/vars/debian.yml
Kevin Carter 005e5b61ca
Convert role to use a common systemd service role
This removes the systemd service templates and tasks from this role and
leverages a common systemd service role instead. This change removes a
lot of code duplication across all roles all without sacrificing features
or functionality. The intention of this change is to ensure uniformity and
reduce the maintenance burden on the community when sweeping changes are
needed.

The systemd journal would normally be populated with the standard out of
a service however with the use of uwsgi this is not actually happening
resulting in us only capturing the logs from the uwsgi process instead
of the service itself. This change implements journal logging in the
service config, which is part of OSLO logging.

OSLO logging docs found here: <https://docs.openstack.org/oslo.log/3.28.1/journal.html>

Change-Id: Ic5b57a650bd9f5c385ed0a0a3efd1d530a2d7e81
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2018-07-31 14:43:44 -05:00

39 lines
1.0 KiB
YAML

# Copyright 2016, Intel Corporation.
#
# 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.
barbican_distro_packages:
- git
barbican_devel_distro_packages:
- build-essential
- gettext
- git
- libffi-dev
- libpq-dev
- libssl-dev
- libsystemd-dev
- python-dev
barbican_service_distro_packages:
- barbican-api
- barbican-keystone-listener
- barbican-worker
- python-pymysql # needed by /usr/bin/barbican-manage db upgrade.
- python-systemd
- python3-systemd
- uwsgi
- uwsgi-plugin-python
barbican_uwsgi_bin: '/usr/bin'