more debug info

This commit is contained in:
Alexander Kolotov 2020-06-02 02:13:10 +03:00
parent a07cecccc2
commit b86090a5a0

@ -3,9 +3,27 @@
hosts: oracle hosts: oracle
become: true become: true
tasks: tasks:
- name: get statuses for docker containers
shell: docker ps -a
register: docker1out
- debug: var=docker1out.stdout_lines
- name: get status for poabridge
shell: systemctl status poabridge
register: serviceout
- debug: var=serviceout.stdout_lines
- name: stop the service - name: stop the service
shell: service poabridge stop shell: service poabridge stop
- name: get statuses for docker containers
shell: docker ps -a
register: docker2out
- debug: var=docker2out.stdout_lines
- name: Build current oracle image - name: Build current oracle image
shell: docker build -t oracle:ultimate-testing --file oracle/Dockerfile . shell: docker build -t oracle:ultimate-testing --file oracle/Dockerfile .
delegate_to: 127.0.0.1 delegate_to: 127.0.0.1
@ -36,6 +54,6 @@
- name: get statuses for docker containers - name: get statuses for docker containers
shell: docker ps -a shell: docker ps -a
register: dockerout register: docker3out
- debug: var=dockerout.stdout_lines - debug: var=docker3out.stdout_lines