Update 2 files
- /roles/npm/tasks/main.yml - /roles/heimdall/tasks/main.yml
This commit is contained in:
parent
25c031e827
commit
91795e141b
@ -25,11 +25,15 @@
|
|||||||
pause:
|
pause:
|
||||||
seconds: 15
|
seconds: 15
|
||||||
|
|
||||||
- name: Check if Heimdall container is running
|
- name: Check Heimdall container status
|
||||||
shell: docker ps --filter name=heimdall --format "table {{.Names}}\\t{{.Status}}"
|
shell: docker ps --filter name=heimdall
|
||||||
register: heimdall_check
|
register: heimdall_status
|
||||||
changed_when: false
|
changed_when: false
|
||||||
|
|
||||||
- name: Show Heimdall status
|
- name: Show Heimdall status
|
||||||
debug:
|
debug:
|
||||||
var: heimdall_check.stdout
|
msg: "Heimdall container status check completed"
|
||||||
|
|
||||||
|
- name: Display Heimdall container info
|
||||||
|
debug:
|
||||||
|
var: heimdall_status.stdout
|
||||||
@ -26,11 +26,15 @@
|
|||||||
pause:
|
pause:
|
||||||
seconds: 15
|
seconds: 15
|
||||||
|
|
||||||
- name: Check if NPM container is running
|
- name: Check NPM container status
|
||||||
shell: docker ps --filter name=npm --format "table {{.Names}}\\t{{.Status}}"
|
shell: docker ps --filter name=npm
|
||||||
register: npm_check
|
register: npm_status
|
||||||
changed_when: false
|
changed_when: false
|
||||||
|
|
||||||
- name: Show NPM status
|
- name: Show NPM status
|
||||||
debug:
|
debug:
|
||||||
var: npm_check.stdout
|
msg: "NPM container status check completed"
|
||||||
|
|
||||||
|
- name: Display NPM container info
|
||||||
|
debug:
|
||||||
|
var: npm_status.stdout
|
||||||
Loading…
Reference in New Issue
Block a user