playbooks: utility-install.yml: Update package cache on openSUSE
Change-Id: I53280dd82f9e1f30a718c5d52429363e0cbf4cfa
This commit is contained in:
parent
1a3b11f82e
commit
f70ca23478
@ -53,7 +53,7 @@
|
|||||||
package:
|
package:
|
||||||
name: "{{ utility_distro_packages | default([]) }}"
|
name: "{{ utility_distro_packages | default([]) }}"
|
||||||
state: "{{ utility_package_state }}"
|
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) }}"
|
cache_valid_time: "{{ (ansible_pkg_mgr == 'apt') | ternary(cache_timeout, omit) }}"
|
||||||
|
|
||||||
- name: Get list of python clients
|
- name: Get list of python clients
|
||||||
|
Loading…
x
Reference in New Issue
Block a user