Commit 467f6391 authored by Ophélie Gagnard's avatar Ophélie Gagnard

playbook/roles/ridge: Add error detection for fluent-bit.

parent 5df12f7d
......@@ -27,5 +27,9 @@
- name: Post-scan
shell: 'echo "{\"end_date\": \"{{ ansible_date_time.iso8601 }}\", \"end_marker\": \"fluentbit_end\"}" >> {{log}}'
- name: Wait fluent-bit
shell: 'waitpid $(pidof fluent-bit) || true'
# pid not found: fluent-bit ended correctly before "pidof" is run
- name: "Build successful, connect to:"
shell: "true"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment