feat: move retry to package task
This commit is contained in:
parent
0b6c62968e
commit
f17f857da6
1 changed files with 1 additions and 1 deletions
|
|
@ -4,7 +4,6 @@
|
|||
- name: "manage packages"
|
||||
when: 'ansible_os_family == "Alpine"'
|
||||
become: true
|
||||
retries: 3
|
||||
block:
|
||||
|
||||
# install packages
|
||||
|
|
@ -13,6 +12,7 @@
|
|||
name: "{{ item }}"
|
||||
state: "present"
|
||||
update_cache: true
|
||||
retries: 3
|
||||
with_items:
|
||||
- "bash"
|
||||
- "btop"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue