Skip to content

Commit 4b78b86

Browse files
committed
check if function ftracing issues occured
1 parent 0303132 commit 4b78b86

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

tasks/main.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,18 @@
22
- name: Include distribution-specific variables
33
ansible.builtin.include_vars: "{{ ansible_os_family | regex_replace(' ', '_') | lower }}.yml"
44

5+
- name: Get dmesg output
6+
ansible.builtin.command: dmesg
7+
changed_when: false
8+
become: true
9+
register: dmesg_output
10+
11+
- name: Assert that no function tracing issues occured
12+
ansible.builtin.assert:
13+
that:
14+
- "'FUNCTION TRACING IS CORRUPTED' not in dmesg_output.stdout"
15+
fail_msg: 'System instability detected, function tracing seems corrupted'
16+
517
- name: Download installation package
618
ansible.builtin.get_url:
719
url: "{{ sentinelone_filename }}"

0 commit comments

Comments
 (0)