Add variable files for RedHat and Suse

This patch aims to add support of manila deployments on RedHat and Suse.

Change-Id: Ib72e8b9ca8cfd52e09ee14a4ca643512008faf5d
This commit is contained in:
Dmitriy Rabotyagov 2019-08-06 18:40:45 +03:00 committed by Dmitriy Rabotyagov (noonedeadpunk)
parent 203eb8772a
commit 38432790c7
2 changed files with 114 additions and 0 deletions

57
vars/redhat.yml Normal file
View File

@ -0,0 +1,57 @@
---
# Copyright 2019, VEXXHOST, 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.
# Common rpm packages
manila_distro_packages:
- libffi-devel
- kmod-devel
- kmod-libs
- postgresql-devel
- libxslt-devel
- nfs-utils
- rpcbind
- rsync
- zlib-devel
manila_service_distro_packages:
- openstack-manila
- python-manilaclient
- python2-shade
- systemd-python
- uwsgi
- uwsgi-python
manila_devel_distro_packages:
- git
- systemd-devel
manila_api_distro_packages: []
manila_scheduler_distro_packages: []
manila_share_distro_packages: []
manila_share_deps_distro_packages:
- "qemu-img{% if ansible_distribution_major_version|int <= 7 %}-ev{% endif %}"
manila_lvm_share_distro_packages:
- device-mapper-event
- lvm2
- parted
manila_oslomsg_amqp1_distro_packages:
- cyrus-sasl-lib
- cyrus-sasl-plain
- cyrus-sasl-md5
manila_uwsgi_bin: '/usr/sbin'

57
vars/suse.yml Normal file
View File

@ -0,0 +1,57 @@
---
# Copyright 2019, VEXXHOST, 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.
# Common rpm packages
manila_distro_packages:
- libffi-devel
- libkmod-devel
- libkmod2
- postgresql-devel
- libxslt-devel
- nfs-utils
- rpcbind
- rsync
- zlib-devel
manila_service_distro_packages:
- openstack-manila
- python-manilaclient
- python-shade
- python-systemd
- uwsgi
- uwsgi-python
manila_devel_distro_packages:
- git-core
- systemd-devel
manila_api_distro_packages: []
manila_scheduler_distro_packages: []
manila_share_distro_packages: []
manila_share_deps_distro_packages:
- qemu-tools
manila_lvm_share_distro_packages:
- device-mapper
- lvm2
- parted
manila_oslomsg_amqp1_distro_packages:
- cyrus-sasl
- cyrus-sasl-plain
- cyrus-sasl-digestmd5
manila_uwsgi_bin: '/usr/sbin'