aboutsummaryrefslogtreecommitdiff
path: root/roles/services/docker_rootless/handlers
diff options
context:
space:
mode:
authorSam Chudnick <sam@chudnick.com>2023-06-25 09:52:36 -0400
committerSam Chudnick <sam@chudnick.com>2023-06-25 09:52:36 -0400
commit95b73daa36b23565a8566f71f9b202d3459b685f (patch)
treecb17b021be70e7868d0ec235a761f0ecdc80f3f2 /roles/services/docker_rootless/handlers
Initial CommitHEADmaster
Diffstat (limited to 'roles/services/docker_rootless/handlers')
-rw-r--r--roles/services/docker_rootless/handlers/main.yml6
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)