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