Update ansible/playbooks/deploy-docker.yml

This commit is contained in:
Matt Reeves 2024-12-20 01:20:15 -05:00
parent fcb4586d10
commit 016311959c

View file

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