--- - 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