matrix-docker-ansible-deploy/roles/custom/matrix-common-after/tasks/run_docker_prune.yml
Suguru Hirahara 25dfbdf1d7
Setting up REUSE: change copyright year to the initial publication - 2022
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
2024-12-08 05:01:46 +09:00

12 lines
370 B
YAML

# SPDX-FileCopyrightText: 2022 MDAD Team and contributors
#
# SPDX-License-Identifier: AGPL-3.0-or-later
---
- name: Run Docker System Prune
ansible.builtin.command:
cmd: "{{ devture_systemd_docker_base_host_command_docker }} system prune -a -f"
register: matrix_common_after_docker_prune_result
changed_when: matrix_common_after_docker_prune_result.rc == 0