projects
/
ansible.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
I don't think we still need this with PW-logins disabled
[ansible.git]
/
upgrade.yml
diff --git
a/upgrade.yml
b/upgrade.yml
index 5da075998e294ad7c9cf4f7f81f40db86019f699..d739e20e80b30b3cd6c174a70e2b617ffa5d71b8 100644
(file)
--- a/
upgrade.yml
+++ b/
upgrade.yml
@@
-1,8
+1,13
@@
- hosts: all
- hosts: all
+ gather_facts: no
tasks:
tasks:
+ - name: autoremove
+ apt: autoremove=yes
+ - name: autoclean
+ apt: autoclean=yes
- name: system upgrade
- name: system upgrade
- apt:
- autoremove: yes
- autoclean: yes
- update_cache: yes
- upgrade: dist
+ apt:
update_cache=yes upgrade=dist
+ environment:
+ NEEDRESTART_MODE: automatically
+ register: upgrade
+ - debug: msg={{ upgrade.msg }}