Fix os-linux-apt-update playbook
This commit is contained in:
1 parent
09aa511791
commit
2c77cf3ec5
1 file changed
+5
-5
@@ -22,11 +22,11 @@
|
||||
poll: 0
|
||||
ignore_errors: true
|
||||
when: file_stat_result.stat.exists
|
||||
- name: Wait for system to become reachable again
|
||||
wait_for_connection:
|
||||
delay: 20
|
||||
timeout: 300
|
||||
when: file_stat_result.stat.exists
|
||||
# - name: Wait for system to become reachable again
|
||||
# wait_for_connection:
|
||||
# delay: 20
|
||||
# timeout: 300
|
||||
# when: file_stat_result.stat.exists
|
||||
- name: Run "apt autoremove"
|
||||
ansible.builtin.apt:
|
||||
autoremove: yes
|
||||
|
||||
Reference in new issue
Block a user