-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add falcoctl configuration, driver, artifacts
- Loading branch information
Showing
3 changed files
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
--- | ||
|
||
- name: Falcoctl | Get current index | ||
ansible.builtin.command: | ||
cmd: falcoctl index list | ||
changed_when: false | ||
register: falcoctl_index | ||
|
||
- name: Falcoctl | Configure index | ||
ansible.builtin.command: # noqa no-changed-when | ||
cmd: falcoctl index add falcosecurity https://falcosecurity.github.io/falcoctl/index.yaml | ||
when: | ||
- "'falcosecurity' not in falcoctl_index.stdout" | ||
|
||
- name: Falcoctl | Configure driver | ||
ansible.builtin.command: # noqa no-changed-when | ||
cmd: "{{ item }}" | ||
loop: | ||
- falcoctl driver config --type ebpf | ||
- falcoctl driver install # Will build/fech driver if kernel is supported | ||
|
||
- name: Falcoctl | Configure follow artifacts | ||
ansible.builtin.command: # noqa no-changed-when | ||
cmd: "falcoctl artifact follow {{ item }}" | ||
loop: "{{ falcoctl_artifacts_follow }}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters