diff options
Diffstat (limited to 'roles/services/docker_rootless/handlers')
-rw-r--r-- | roles/services/docker_rootless/handlers/main.yml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/roles/services/docker_rootless/handlers/main.yml b/roles/services/docker_rootless/handlers/main.yml new file mode 100644 index 0000000..510db7b --- /dev/null +++ b/roles/services/docker_rootless/handlers/main.yml | |||
@@ -0,0 +1,6 @@ | |||
1 | - name: update repos | ||
2 | apt: | ||
3 | update_cache: yes | ||
4 | register: apt_upgrade | ||
5 | retries: 100 | ||
6 | until: apt_upgrade is success or ('Failed to lock apt for exclusive operation' not in apt_upgrade.msg and '/var/lib/dpkg/lock' not in apt_upgrade.msg) | ||