feat: move retry to package task

This commit is contained in:
Simon Cornet 2025-11-30 13:19:59 +01:00
commit f17f857da6

View file

@ -4,7 +4,6 @@
- name: "manage packages" - name: "manage packages"
when: 'ansible_os_family == "Alpine"' when: 'ansible_os_family == "Alpine"'
become: true become: true
retries: 3
block: block:
# install packages # install packages
@ -13,6 +12,7 @@
name: "{{ item }}" name: "{{ item }}"
state: "present" state: "present"
update_cache: true update_cache: true
retries: 3
with_items: with_items:
- "bash" - "bash"
- "btop" - "btop"