Skip to content

Commit

Permalink
check if function ftracing issues occured
Browse files Browse the repository at this point in the history
  • Loading branch information
stdevel committed Jan 26, 2023
1 parent 0303132 commit 4b78b86
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,18 @@
- name: Include distribution-specific variables
ansible.builtin.include_vars: "{{ ansible_os_family | regex_replace(' ', '_') | lower }}.yml"

- name: Get dmesg output
ansible.builtin.command: dmesg
changed_when: false
become: true
register: dmesg_output

- name: Assert that no function tracing issues occured
ansible.builtin.assert:
that:
- "'FUNCTION TRACING IS CORRUPTED' not in dmesg_output.stdout"
fail_msg: 'System instability detected, function tracing seems corrupted'

- name: Download installation package
ansible.builtin.get_url:
url: "{{ sentinelone_filename }}"
Expand Down

0 comments on commit 4b78b86

Please sign in to comment.