From 8241b508ecb1af549e158c7784bd76f64b70ef79 Mon Sep 17 00:00:00 2001 From: Clement Verna Date: Jun 04 2019 11:07:23 +0000 Subject: oci-registry-prune: Add stdout_lines debug to the delete_old_oci_images run Signed-off-by: Clement Verna --- diff --git a/playbooks/manual/oci-registry-prune.yml b/playbooks/manual/oci-registry-prune.yml index 369b347..839a040 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"