Merge "Add support for the openSUSE Leap distributions"

This commit is contained in:
Jenkins 2017-07-13 15:07:48 +00:00 committed by Gerrit Code Review
commit 20b96b6f6b
3 changed files with 10 additions and 1 deletions

View File

@ -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

View File

@ -17,7 +17,7 @@
package:
name: "{{ heat_distro_packages }}"
state: "{{ heat_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
vars/suse-42.yml Symbolic link
View File

@ -0,0 +1 @@
redhat-7.yml