projects
/
ansible.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
1b4ab6199a166cee81ed322e59ff112944fed870
[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: a
12
register: upgrade
13
- debug: msg={{ upgrade.msg }}