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

Task references undefined variable in benchmark_v2.0.0 branch #259

Open
kbknapp opened this issue Dec 3, 2024 · 2 comments
Open

Task references undefined variable in benchmark_v2.0.0 branch #259

kbknapp opened this issue Dec 3, 2024 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@kbknapp
Copy link

kbknapp commented Dec 3, 2024

Describe the Issue

In the #255 branch.

PRELIM | Discover dconf systemdb in failed_when references an undefined variable.

- name: PRELIM | AUDIT | Discover dconf systemdb
  when: ubtu22cis_gui
  ansible.builtin.shell: grep system-db /etc/dconf/profile/user | cut -d ':' -f2
  changed_when: false
  failed_when: ubtu22cis_dconf_db.rc not in [ 0, 1 ]
  register: prelim_dconf_system_db

Possible Solution

I believe this should be prelim_dconf_system_db

@kbknapp kbknapp added the bug Something isn't working label Dec 3, 2024
@uk-bolly uk-bolly self-assigned this Dec 4, 2024
uk-bolly added a commit that referenced this issue Dec 4, 2024
Signed-off-by: Mark Bolwell <[email protected]>
@uk-bolly
Copy link
Member

uk-bolly commented Dec 4, 2024

hi @kbknapp

Thank you for the rapid feedback before PR merge. This has now been addressed and in the latest PR updated.

Many thanks once again

uk-bolly

@uk-bolly
Copy link
Member

hi @kbknapp

This should now be in a correct place, all linting has been updated to the latest configurations and hoping the PR will be approved today for merging into devel.

Thank you once again for your feedback.

uk-bolly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants