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:
parent
5e7a0645c8
commit
047b745ccd
1 changed files with 4 additions and 5 deletions
|
@ -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"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue