Fix os-linux-apt-update playbook

This commit is contained in:
Sergei Bobkov 2024-09-28 12:11:55 +03:00
parent 09aa511791
commit 2c77cf3ec5

View File

@ -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