kolla-ansible/ansible/roles/prune-images/tasks/validate_docker_execute.yml
Dincer Celik b7728ea890 Adds Docker image pruning command
This change introduces prune-images command.

Uses docker_prune module of Ansible that comes with version 2.8.

Depends-On: https://review.opendev.org/#/c/699333/

Implements: blueprint docker-image-pruning

Change-Id: Icbf374dd50e1cc1f1604bb4fa779b34279efd50c
2020-01-27 13:44:01 +03:00

4 lines
95 B
YAML

---
- name: Ensure the docker service is running
script: ../tools/validate-docker-execute.sh