Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions ansible-playbooks/roles/scap_open/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@
register: result
changed_when: false
rescue:
- name: Enable Modern Bpf support
- name: Disable Modern Bpf support
ansible.builtin.set_fact:
modern_bpf_supported: true
when: result.rc != 95
modern_bpf_supported: false
when: result.rc == 95

- name: Check Old Bpf Support
block:
Expand Down
2 changes: 1 addition & 1 deletion ansible-playbooks/roles/scap_open/vars/main.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
modern_bpf_supported: false
modern_bpf_supported: true
bpf_supported: false
bpf_minimum_kver:
aarch64: '4.17'
Expand Down