oci-registry-prune: Revert run the delete_old_oci_images locally on batcave

Signed-off-by: Clement Verna <cverna@tutanota.com>
This commit is contained in:
Clement Verna 2019-06-04 11:55:23 +02:00
parent 5e7a0645c8
commit 047b745ccd

View file

@ -17,11 +17,10 @@
tasks: tasks:
- name: Find and Delete 30 days old OCI images - name: Find and Delete 30 days old OCI images
local_action: > delete_old_oci_images:
delete_old_oci_images days: 30
days=30 username: "{{candidate_registry_osbs_prod_username}}"
username="{{candidate_registry_osbs_prod_username}}" password: "{{candidate_registry_osbs_prod_password}}"
password="{{candidate_registry_osbs_prod_password}}"
- name: Run registry garbage collection to reclaim disk space - name: Run registry garbage collection to reclaim disk space
command: "registry garbage-collect /etc/docker-distribution/registry/config.yml" command: "registry garbage-collect /etc/docker-distribution/registry/config.yml"