projects
/
ansible.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
d739e20e80b30b3cd6c174a70e2b617ffa5d71b8
[ansible.git]
/
upgrade.yml
1
- hosts: all
2
gather_facts: no
3
tasks:
4
- name: autoremove
5
apt: autoremove=yes
6
- name: autoclean
7
apt: autoclean=yes
8
- name: system upgrade
9
apt: update_cache=yes upgrade=dist
10
environment:
11
NEEDRESTART_MODE: automatically
12
register: upgrade
13
- debug: msg={{ upgrade.msg }}