Add debian common role
This commit is contained in:
17
common-debian/tasks/apt-bootstrap.yml
Normal file
17
common-debian/tasks/apt-bootstrap.yml
Normal file
@ -0,0 +1,17 @@
|
||||
---
|
||||
- name: clean out apt cache
|
||||
file:
|
||||
path: /var/cache/apt/archives
|
||||
state: absent
|
||||
|
||||
- name: install pending updates and autoremove
|
||||
apt:
|
||||
update_cache: yes
|
||||
autoremove: yes
|
||||
upgrade: full
|
||||
|
||||
- name: install dbus if missing
|
||||
apt:
|
||||
name:
|
||||
- dbus
|
||||
state: latest
|
Reference in New Issue
Block a user