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

Having error in execution #446

Open
bantify opened this issue Jan 21, 2025 · 1 comment
Open

Having error in execution #446

bantify opened this issue Jan 21, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@bantify
Copy link

bantify commented Jan 21, 2025

Have you checked ReadtheDocs?:
Yes

Describe the Issue
A clear and concise description of what the bug is.

Having error in below task:

TASK [roles/cis/RHEL8-CIS : Assert that password set for ericsson_nbanik and account not locked] ******************************************************************************************
fatal: [gzp-p-qv-webapp1]: FAILED! => {
    "assertion": "discovered_ansible_user_password_set.stdout | length != 0 and discovered_ansible_user_password_set.stdout != \"!!\"",
    "changed": false,
    "evaluated_to": false,
    "msg": "You have rhel8cis_rule_4_3_4 enabled but the user = ericsson_nbanik has no password set - It can break access"
}

PLAY RECAP ********************************************************************************************************************************************************************************

Expected Behavior
A clear and concise description of what you expected to happen.
It should pass

Actual Behavior
A clear and concise description of what's happening.
It gives error.

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

Assert that password set for ericsson_nbanik and account not locked

Environment (please complete the following information):

  • branch being used: [e.g. devel]
  • Ansible Version: [e.g. 2.10]
    2.15.10
  • Host Python Version: [e.g. Python 3.7.6]
    Python 3.9.6
  • Ansible Server Python Version: [e.g. Python 3.7.6]
    Python 3.9.6
  • Additional Details:

Additional Notes
Anything additional goes here

Possible Solution
Enter a suggested fix here

@bantify bantify added the bug Something isn't working label Jan 21, 2025
@bantify
Copy link
Author

bantify commented Jan 21, 2025

it is freeIPA user.

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

1 participant