improve error handling
This commit is contained in:
parent
1eed2ea97f
commit
59c93bba34
2 changed files with 7 additions and 2 deletions
|
@ -1,3 +1,4 @@
|
||||||
---
|
---
|
||||||
- name: Install bonjour
|
- name: Install bonjour
|
||||||
ansible.builtin.include_tasks: packages.yml
|
ansible.builtin.include_tasks:
|
||||||
|
file: packages.yml
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
---
|
---
|
||||||
- name: Install bonjour
|
- name: Install bonjour via chocolatey
|
||||||
chocolatey.chocolatey.win_chocolatey:
|
chocolatey.chocolatey.win_chocolatey:
|
||||||
name: 'bonjour'
|
name: 'bonjour'
|
||||||
state: present
|
state: present
|
||||||
|
register: _bonjour
|
||||||
|
until: _bonjour is succeeded
|
||||||
|
retries: 5
|
||||||
|
delay: 2
|
||||||
|
|
Loading…
Reference in a new issue