Added timeout for index cache update
This commit is contained in:
parent
40cf9c615b
commit
ef5ee26c23
|
@ -9,12 +9,14 @@
|
||||||
- name: Update index files
|
- name: Update index files
|
||||||
package:
|
package:
|
||||||
update_cache: true
|
update_cache: true
|
||||||
|
timeout: 120
|
||||||
when: ansible_pkg_mgr not in ["zypper"]
|
when: ansible_pkg_mgr not in ["zypper"]
|
||||||
|
|
||||||
- name: Update index files
|
- name: Update index files
|
||||||
package:
|
package:
|
||||||
name: zypper
|
name: zypper
|
||||||
update_cache: true
|
update_cache: true
|
||||||
|
timeout: 120
|
||||||
when: ansible_pkg_mgr in ["zypper"]
|
when: ansible_pkg_mgr in ["zypper"]
|
||||||
|
|
||||||
##############################################################################
|
##############################################################################
|
||||||
|
|
Loading…
Reference in a new issue