This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
ka
/
ansible-role-updates
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
updates role
master
Markus Katharina Brechtel
2 years ago
parent
9075d0e1a4
commit
d0630f50ec
2 changed files
with
19 additions
and
0 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-0
defaults/main.yaml
+17
-0
tasks/main.yaml
+ 2
- 0
defaults/main.yaml
View File
@@ -0,0 +1,2 @@
---
unattended_upgrades: true
+ 17
- 0
tasks/main.yaml
View File
@@ -0,0 +1,17 @@
---
- name: update apt cache
apt:
update_cache: true
cache_valid_time: 3600
- name: upgrade all packages
apt:
upgrade: dist
- name: unattended-upgrades
apt:
name: unattended-upgrades
when:
- unattended_upgrades
- not ansible_bender is defined
Write
Preview
Loading…
Cancel
Save