Commit 1316e73d authored by Ophélie Gagnard's avatar Ophélie Gagnard

playbook/roles/ridge: Add timestamp.

parent e09db747
Pipeline #24924 failed with stage
in 0 seconds
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
# TODO: store fluent-bit's PID to wait for it at the end # TODO: store fluent-bit's PID to wait for it at the end
- name: Pre-scan - name: Pre-scan
shell: "sleep 1" shell: 'sleep 1; echo "{\"beginning_date\": \"{{ ansible_date_time.iso8601 }}\"}" >> {{log}}'
- name: Scan /sbin - name: Scan /sbin
shell: "{{mca}} /sbin {{log}}" shell: "{{mca}} /sbin {{log}}"
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
shell: "{{mca}} /bin {{log}}" shell: "{{mca}} /bin {{log}}"
- name: Post-scan - name: Post-scan
shell: 'echo "{end_marker: \"fluentbit_end\"}" >> {{log}}' shell: 'echo "{\"end_date\": \"{{ ansible_date_time.iso8601 }}\", \"end_marker\": \"fluentbit_end\"}" >> {{log}}'
- name: "Build successful, connect to:" - name: "Build successful, connect to:"
shell: "true" 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