Add docker prune playbook

This commit is contained in:
Lino Silva
2024-11-15 11:09:13 +00:00
parent c487d5cec4
commit 53489b5764
5 changed files with 11 additions and 3 deletions
@@ -3,5 +3,4 @@
ansible_user: root
ansible_host: 10.0.2.16
ansible_ssh_pass: "{{ proxmox_api_password }}"
vmid: 100216
: revali
vmid: 607
+5
View File
@@ -0,0 +1,5 @@
---
- hosts: lxc
become: yes
roles:
- role: common/lxc/docker-prune
+1 -1
View File
@@ -2,4 +2,4 @@
- hosts: lxc
become: yes
roles:
- role: common/lxc/update
- role: common/lxc/update-os
+4
View File
@@ -0,0 +1,4 @@
---
- name: Update all packages to their latest version
become: true
ansible.builtin.shell: "docker system prune -af"