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

Molecule tests are broken #433

Open
bbaassssiiee opened this issue Nov 25, 2024 · 1 comment
Open

Molecule tests are broken #433

bbaassssiiee opened this issue Nov 25, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@bbaassssiiee
Copy link
Member

Describe the Issue
molecule converge fails due to changes..

Expected Behavior
molecule converge
molecule converge -s localhost
molecule converge -s wsl

Actual Behavior
Authselect breaks the tests due to your assumptions.

Control(s) Affected
What controls are being affected by the issue

All, cannot run RHEL8-CIS in test scenarios.

Environment (please complete the following information):

  • branch being used: devel
  • Ansible Version: core 2.16.3
  • Host Python Version: [e.g. platform-python 3.6.8 ]
  • Ansible Server Python Version: python version = 3.12.6
  • Additional Details:

Additional Notes
Anything additional goes here

Possible Solution
Enter a suggested fix here

@bbaassssiiee bbaassssiiee added the bug Something isn't working label Nov 25, 2024
@bbaassssiiee
Copy link
Member Author

TASK [RHEL8-CIS : PRELIM | AUDIT | Check authselect package versions | set fact] ***
Monday 25 November 2024  14:39:19 +0000 (0:00:00.012)       0:00:19.807 *******
fatal: [ubi8]: FAILED! => {"msg": "The conditional check 'ansible_facts.packages.authselect[0].version is version(authselect_pkg_version, '>=')' failed. The error was: error while evaluating conditional (ansible_facts.packages.authselect[0].version is version(authselect_pkg_version, '>=')): 'dict object' has no attribute 'authselect'. 'dict object' has no attribute 'authselect'\n\nThe error appears to be in '/home/vagrant/RHEL8-CIS/tasks/prelim.yml': line 204, column 9, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n  block:\n      - name: \"PRELIM | AUDIT | Check authselect package versions | set fact\"\n        ^ here\n"}

@uk-bolly uk-bolly self-assigned this Nov 28, 2024
uk-bolly added a commit that referenced this issue Nov 28, 2024
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