Merge "launch: use apt to update packages"

This commit is contained in:
Zuul 2023-04-13 23:56:02 +00:00 committed by Gerrit Code Review
commit 8696c17bb3

View File

@ -1,8 +1,8 @@
- hosts: "{{ target }}"
user: root
tasks:
- name: Run unattended-upgrade on debuntu
shell: |
unattended-upgrade -d
when: ansible_facts['os_family'] == "Debian"
# TODO add equivalent for other platforms
- name: Upgrade packages
apt:
upgrade: dist
update_cache: yes
autoremove: yes