Skip to content

Commit

Permalink
get logs
Browse files Browse the repository at this point in the history
  • Loading branch information
szachovy committed Jun 22, 2024
1 parent 0b47784 commit 9c26726
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion tests/testsuite/roles/testing/tasks/system.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,14 @@
superset_node_address=$(superset_node_address)
docker_swarm_token=$(docker_swarm_token "${superset_node_address}")
clusterize_nodes
start_superset
start_superset > /tmp/start_superset.log 2>&1
args:
executable: /bin/bash
ignore_errors: yes

- name: Read and display the log file
ansible.builtin.shell: cat /tmp/start_superset.log
register: log_file

- debug:
msg: "{{ log_file.stdout_lines }}"

0 comments on commit 9c26726

Please sign in to comment.