We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8a47e76 commit c16bd62Copy full SHA for c16bd62
playbooks/roles/fix_broken/tasks/ubuntu.yml
@@ -72,6 +72,14 @@
72
delay: 10
73
until: result.stdout | int == 0
74
75
+- name: Ensure lock file is removed
76
+ become: true
77
+ file:
78
+ path: "/var/lib/apt/lists/lock"
79
+ state: absent
80
+ retries: 30
81
+ delay: 10
82
+ until: result.stdout | int == 0
83
84
- name: Run apt-get update
85
become: true
@@ -80,7 +88,6 @@
88
PID1=$!
89
wait $PID1
90
-
91
- name: Run fix-broken
92
86
93
shell: |
0 commit comments