Add retries to all apt commands

This commit is contained in:
2023-09-01 15:42:30 -04:00
parent d54844746e
commit 2ba8f1cfc3
7 changed files with 39 additions and 0 deletions

View File

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