Add retries to all apt commands
This commit is contained in:
@ -24,6 +24,9 @@
|
||||
name: "{{ package_list }}"
|
||||
state: latest
|
||||
update-cache: yes
|
||||
register: apt_res
|
||||
retries: 5
|
||||
until: apt_res is success
|
||||
|
||||
- name: stop and disable postgresql
|
||||
service:
|
||||
|
Reference in New Issue
Block a user