Add support for the openSUSE Leap distributions
Add support for the openSUSE Leap distributions. Nothing special is required for this except for adding the appropriate distro variables file and also update the zypper cache before package installation. Change-Id: I6dc2aa249c9935e5570509af08bb2aeba8afef76
This commit is contained in:
@@ -23,6 +23,14 @@ galaxy_info:
|
||||
- name: Ubuntu
|
||||
versions:
|
||||
- xenial
|
||||
- name: EL
|
||||
versions:
|
||||
- 7
|
||||
- name: opensuse
|
||||
versions:
|
||||
- 42.1
|
||||
- 42.2
|
||||
- 42.3
|
||||
categories:
|
||||
- cloud
|
||||
- python
|
||||
|
@@ -17,7 +17,7 @@
|
||||
package:
|
||||
name: "{{ designate_distro_packages }}"
|
||||
state: "{{ designate_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
|
||||
|
@@ -1,3 +1,4 @@
|
||||
---
|
||||
# Copyright 2016, Intel Corporation.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
|
1
vars/suse-42.yml
Symbolic link
1
vars/suse-42.yml
Symbolic link
@@ -0,0 +1 @@
|
||||
redhat-7.yml
|
@@ -1,3 +1,4 @@
|
||||
---
|
||||
# Copyright 2016, Intel Corporation.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
|
Reference in New Issue
Block a user