From 016311959c264e52e475562e3c862e88006f7346 Mon Sep 17 00:00:00 2001 From: mafyuh Date: Fri, 20 Dec 2024 01:20:15 -0500 Subject: [PATCH] Update ansible/playbooks/deploy-docker.yml --- ansible/playbooks/deploy-docker.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/ansible/playbooks/deploy-docker.yml b/ansible/playbooks/deploy-docker.yml index ea621eb..cd05657 100644 --- a/ansible/playbooks/deploy-docker.yml +++ b/ansible/playbooks/deploy-docker.yml @@ -23,6 +23,11 @@ - name: Display container states debug: - msg: > - Container {{ item.Name }} - {{ item.Status }} + msg: | + Container {{ item.Names[0] }} + - State: {{ item.State }} + - Status: {{ item.Status }} + - Ports: {{ item.Ports }} + - Networks: {{ item.Networks | join(', ') }} with_items: "{{ docker_compose_output.containers }}" +