Merge "Add support for the openSUSE Leap distributions"

This commit is contained in:
Zuul 2018-02-05 16:44:04 +00:00 committed by Gerrit Code Review
commit bb2b726429
4 changed files with 27 additions and 1 deletions

View File

@ -26,6 +26,9 @@ galaxy_info:
- name: EL
versions:
- 7
- name: opensuse
versions:
- 42.3
galaxy_tags:
- cloud
- openstack

View File

@ -17,7 +17,7 @@
package:
name: "{{ barbican_distro_packages }}"
state: "{{ barbican_package_state }}"
update_cache: "{{ (ansible_pkg_mgr == 'apt') | ternary('yes', omit) }}"
update_cache: "{{ (ansible_pkg_mgr in ['apt', 'zypper']) | ternary('yes', omit) }}"
cache_valid_time: "{{ (ansible_pkg_mgr == 'apt') | ternary(cache_timeout, omit) }}"
register: install_packages
until: install_packages | success

21
vars/suse.yml Normal file
View File

@ -0,0 +1,21 @@
# Copyright 2017, SUSE Linux GmbH.
#
# 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:
- gettext-runtime
- git-core
- libffi-devel
- libopenssl-devel
- postgresql-devel
- python-devel

View File

@ -17,6 +17,7 @@
jobs:
- openstack-ansible-linters
- openstack-ansible-functional-centos-7
- openstack-ansible-functional-opensuse-423
- openstack-ansible-functional-ubuntu-xenial
- openstack-ansible-barbican-ssl-nv
experimental:
@ -26,5 +27,6 @@
jobs:
- openstack-ansible-linters
- openstack-ansible-functional-centos-7
- openstack-ansible-functional-opensuse-423
- openstack-ansible-functional-ubuntu-xenial
- openstack-ansible-barbican-ssl-nv