Add play to backup bookstack, reorganize files

This commit is contained in:
2020-05-23 03:47:01 +00:00
parent 027e221d35
commit 1a3270d012
4 changed files with 19 additions and 1 deletions

17
ansible/plays/apt-up.yml Normal file
View File

@@ -0,0 +1,17 @@
---
- hosts: core
become: yes
tasks:
- name: Ensure package lists are up-to-date
apt:
update_cache: yes
- name: Ensure packages are up-to-date
apt:
upgrade: dist
- name: Remove unused packages from the cache
apt:
autoclean: yes
- name: Remove dependencies that are no longer required
apt:
autoremove: yes