Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(scap-open): correctly print saved variable #57

Merged
merged 2 commits into from
Jul 24, 2023
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: 6 additions & 0 deletions .ansible-lint
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,9 @@ profile: production # min, basic, moderate,safety, shared, production
# option are parsed relative to the CWD of execution.
exclude_paths:
- .github/
- .ansible-lint
- requirements.yml

# Offline mode enables installation of requirements.yml and schema refreshing
# needed by the community collection
online: true
2 changes: 1 addition & 1 deletion .github/workflows/ansible-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ jobs:

- name: Run ansible-lint
# replace `main` with any valid ref, or tags like `v6`
uses: ansible/ansible-lint-action@cad5176ea6f24a38f909d688bd467ec8d942d7e1 # v 6.17.0
uses: ansible/ansible-lint-action@v6.3.0 # the latest version has a bug that do not run in online mode
4 changes: 4 additions & 0 deletions requirements.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
collections:
- name: community.docker
- name: community.crypto
2 changes: 1 addition & 1 deletion roles/scap_open/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@
rescue:
- name: Print error message to stdout --- build bpf probe
ansible.builtin.debug:
var: result
var: bpf_probe_result
always:
- name: Dump error message to file
ansible.builtin.copy:
Expand Down