Merge "launch: use apt to update packages"
This commit is contained in:
commit
8696c17bb3
@ -1,8 +1,8 @@
|
|||||||
- hosts: "{{ target }}"
|
- hosts: "{{ target }}"
|
||||||
user: root
|
user: root
|
||||||
tasks:
|
tasks:
|
||||||
- name: Run unattended-upgrade on debuntu
|
- name: Upgrade packages
|
||||||
shell: |
|
apt:
|
||||||
unattended-upgrade -d
|
upgrade: dist
|
||||||
when: ansible_facts['os_family'] == "Debian"
|
update_cache: yes
|
||||||
# TODO add equivalent for other platforms
|
autoremove: yes
|
||||||
|
Loading…
x
Reference in New Issue
Block a user