Update deploy.yml
This commit is contained in:
parent
3f14478270
commit
41f7d9823e
1 changed files with 9 additions and 1 deletions
10
deploy.yml
10
deploy.yml
|
@ -18,8 +18,16 @@
|
||||||
command: docker compose up -d
|
command: docker compose up -d
|
||||||
args:
|
args:
|
||||||
chdir: "{{ repo_path }}"
|
chdir: "{{ repo_path }}"
|
||||||
register: docker_output
|
register: docker_compose_output
|
||||||
|
|
||||||
- name: Display docker output
|
- name: Display docker output
|
||||||
|
debug:
|
||||||
|
var: docker_compose_output.stdout_lines
|
||||||
|
|
||||||
|
- name: Run Docker Command
|
||||||
|
command: docker ps
|
||||||
|
register: docker_output
|
||||||
|
|
||||||
|
- name: Display Docker Output
|
||||||
debug:
|
debug:
|
||||||
var: docker_output.stdout_lines
|
var: docker_output.stdout_lines
|
||||||
|
|
Reference in a new issue