add package-update role
This commit is contained in:
parent
3cb30d2985
commit
1541a24467
|
@ -0,0 +1,7 @@
|
|||
---
|
||||
- name: Update packages on nodes
|
||||
hosts: cloud
|
||||
user: root
|
||||
|
||||
roles:
|
||||
- package-update
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
# This role updates packages and performs autoremove
|
||||
|
||||
- name: Update apt cache and then packages with autoremove
|
||||
apt: update_cache=yes upgrade=safe autoremove=yes
|
Loading…
Reference in New Issue