From 8241b508ecb1af549e158c7784bd76f64b70ef79 Mon Sep 17 00:00:00 2001 From: Clement Verna Date: Tue, 4 Jun 2019 13:07:23 +0200 Subject: [PATCH] oci-registry-prune: Add stdout_lines debug to the delete_old_oci_images run Signed-off-by: Clement Verna --- playbooks/manual/oci-registry-prune.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/playbooks/manual/oci-registry-prune.yml b/playbooks/manual/oci-registry-prune.yml index 369b3471e2..839a0408f1 100644 --- a/playbooks/manual/oci-registry-prune.yml +++ b/playbooks/manual/oci-registry-prune.yml @@ -23,6 +23,9 @@ password: "{{candidate_registry_osbs_prod_password}}" delegate_to: compose-x86-01.phx2.fedoraproject.org when: env == "production" + register: prod_output + + - debug: var=prod_output.stdout_lines - name: Run registry garbage collection to reclaim disk space command: "registry garbage-collect /etc/docker-distribution/registry/config.yml" @@ -36,9 +39,9 @@ password: "{{candidate_registry_osbs_stg_password}}" delegate_to: compose-x86-01.phx2.fedoraproject.org when: env == "staging" - register: output + register: stg_output - - debug: var=output.stdout_lines + - debug: var=stg_output.stdout_lines - name: Run registry garbage collection to reclaim disk space (stg) command: "registry garbage-collect /etc/docker-distribution/registry/config.yml"