Files
it-ansible/playbooks/maintenance.yaml
2024-10-23 15:36:27 +02:00

23 lines
488 B
YAML

---
- name: Ensure the system is updated and potentially rebooted
hosts: all
roles:
- system_update
- name: Ensure correct authorized_keys are deployed
hosts: all
roles:
- authorized_keys
- name: Clean up unused Docker data
hosts: Docker_Hosts
tasks:
- name: Clean up unused Docker data
community.docker.docker_prune:
containers: true
images: true
networks: true
volumes: true
builder_cache: true
become: true