Update ansible/playbooks/deploy-docker.yml
This commit is contained in:
parent
fcb4586d10
commit
016311959c
1 changed files with 7 additions and 2 deletions
|
@ -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 }}"
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue