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 }}" +