Add 'installbox' configuration.
This commit is contained in:
commit
546dabd7aa
16 changed files with 323 additions and 0 deletions
19
roles/up2date-debian/tasks/main.yml
Normal file
19
roles/up2date-debian/tasks/main.yml
Normal file
|
@ -0,0 +1,19 @@
|
|||
# Update lists and upgrade packages.
|
||||
|
||||
- name: update apt package lists
|
||||
apt:
|
||||
update_cache: yes
|
||||
cache_valid_time: 86400
|
||||
|
||||
- name: upgrade packages
|
||||
apt:
|
||||
upgrade: dist
|
||||
autoremove: yes
|
||||
|
||||
- name: install some packages
|
||||
apt: name={{ item }} state=latest
|
||||
with_items:
|
||||
- etckeeper
|
||||
|
||||
#- name: clean apt package cache
|
||||
# command: apt clean
|
Loading…
Add table
Add a link
Reference in a new issue