Add docker prune playbook
This commit is contained in:
@@ -3,5 +3,4 @@
|
||||
ansible_user: root
|
||||
ansible_host: 10.0.2.16
|
||||
ansible_ssh_pass: "{{ proxmox_api_password }}"
|
||||
vmid: 100216
|
||||
: revali
|
||||
vmid: 607
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
---
|
||||
- hosts: lxc
|
||||
become: yes
|
||||
roles:
|
||||
- role: common/lxc/docker-prune
|
||||
@@ -2,4 +2,4 @@
|
||||
- hosts: lxc
|
||||
become: yes
|
||||
roles:
|
||||
- role: common/lxc/update
|
||||
- role: common/lxc/update-os
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
---
|
||||
- name: Update all packages to their latest version
|
||||
become: true
|
||||
ansible.builtin.shell: "docker system prune -af"
|
||||
Reference in New Issue
Block a user