Merge "Add support for the openSUSE Leap distributions"

This commit is contained in:
Jenkins 2017-07-07 01:13:57 +00:00 committed by Gerrit Code Review
commit 3eebad4ce2
5 changed files with 32 additions and 1 deletions

View File

@ -26,6 +26,11 @@ galaxy_info:
- name: EL
versions:
- 7
- name: opensuse
versions:
- 42.1
- 42.2
- 42.3
categories:
- cloud
- python

View File

@ -17,7 +17,7 @@
package:
name: "{{ glance_distro_packages }}"
state: "{{ glance_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

View File

@ -1,3 +1,4 @@
---
# Copyright 2016, Intel Corporation.
#
# Licensed under the Apache License, Version 2.0 (the "License");

24
vars/suse-42.yml Normal file
View File

@ -0,0 +1,24 @@
---
# Copyright 2016, Intel Corporation.
# 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.
glance_distro_packages:
- cronie
- cronie-anacron
- rpcbind
- rsync
- git-core
- nfs-utils
- which

View File

@ -1,3 +1,4 @@
---
# Copyright 2016, Intel Corporation.
#
# Licensed under the Apache License, Version 2.0 (the "License");