diff --git a/apps/roles/install/tasks/main.yml b/apps/roles/install/tasks/main.yml index e615a47d..81469367 100644 --- a/apps/roles/install/tasks/main.yml +++ b/apps/roles/install/tasks/main.yml @@ -30,8 +30,6 @@ loop: "{{volume_names.stdout_lines}}" - name: Check Docker Container Service - shell: | - echo \"docker ps --format '{{ json . }}' | jq -s 'map({name:.Names,status:.Status})'\" >> /tmp/test1.sh - bash /tmp/test.sh + shell: docker ps register: check_container_service notify: check_container_service