Merge "playbooks: utility-install.yml: Update package cache on openSUSE"

This commit is contained in:
Jenkins 2017-08-26 12:19:15 +00:00 committed by Gerrit Code Review
commit caabe88c9a
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@
package:
name: "{{ utility_distro_packages | default([]) }}"
state: "{{ utility_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) }}"
- name: Get list of python clients