E405 v4.0.0 Remote package tasks should have a retry Package operations are unreliable as they require network communication and the availability of remote servers. To mitigate the potential problems, retries should be used via register: my_result and until: my_result | success
This shows up when running ansible-lint as the following error:
[405] Remote package tasks should have a retry
plays/sample.yml:31
Task/Handler: Install list of packages
Given the sample code:
- name: Install list of packages
apt:
name: [jq, vim, curl, unzip, dnsutils]
state: present
How to solve this?