diff --git a/roles/heimdall/tasks/main.yml b/roles/heimdall/tasks/main.yml index a70fc19..0629148 100644 --- a/roles/heimdall/tasks/main.yml +++ b/roles/heimdall/tasks/main.yml @@ -25,11 +25,15 @@ pause: seconds: 15 -- name: Check if Heimdall container is running - shell: docker ps --filter name=heimdall --format "table {{.Names}}\\t{{.Status}}" - register: heimdall_check +- name: Check Heimdall container status + shell: docker ps --filter name=heimdall + register: heimdall_status changed_when: false - name: Show Heimdall status debug: - var: heimdall_check.stdout \ No newline at end of file + msg: "Heimdall container status check completed" + +- name: Display Heimdall container info + debug: + var: heimdall_status.stdout \ No newline at end of file diff --git a/roles/npm/tasks/main.yml b/roles/npm/tasks/main.yml index c4c2376..c798a2d 100644 --- a/roles/npm/tasks/main.yml +++ b/roles/npm/tasks/main.yml @@ -26,11 +26,15 @@ pause: seconds: 15 -- name: Check if NPM container is running - shell: docker ps --filter name=npm --format "table {{.Names}}\\t{{.Status}}" - register: npm_check +- name: Check NPM container status + shell: docker ps --filter name=npm + register: npm_status changed_when: false - name: Show NPM status debug: - var: npm_check.stdout \ No newline at end of file + msg: "NPM container status check completed" + +- name: Display NPM container info + debug: + var: npm_status.stdout \ No newline at end of file