diff --git a/apps/roles/install/tasks/main.yml b/apps/roles/install/tasks/main.yml index 9d3cc835..b73e0105 100644 --- a/apps/roles/install/tasks/main.yml +++ b/apps/roles/install/tasks/main.yml @@ -30,6 +30,6 @@ loop: "{{volume_names.stdout_lines}}" - name: Check Docker Container Service - shell: docker ps --format \{\{'json .'\}\}| jq -s + shell: docker ps --format \{\{'json .'\}\}| jq -s map\(\{containername:'.Names',state:'.State'\}\) register: check_container_service notify: check_container_service