Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions ansible/update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,18 @@
autoremove: yes
update_cache: yes
become: yes
register: apt_upgrade

# Package upgrades only restart the system docker, which is disabled here.
# The agent's rootless daemon would keep running against the old containerd.
- name: Restart rootless docker
when: apt_upgrade.changed
ansible.builtin.systemd:
name: docker.service
state: restarted
scope: user
become: yes
become_user: azdo

- name: Check reboot
ansible.builtin.import_tasks: tasks/check_reboot.yml
Loading