Merge "launch: use apt to update packages"
This commit is contained in:
commit
8696c17bb3
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user