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

zabbix_authentication - fix inability to update passwd_check_rules #1388

Conversation

CircuitCipher
Copy link
Contributor

SUMMARY

zabbix_authentication - fix inability to update passwd_check_rules

  • It seems there is a indentation-level python bug where the passwd_check_rules are updated in the zabbix_authentication module.
  • There also was an issue with being able to pass in an empty list to the passwd_check_rules which has been resolved
ISSUE TYPE
  • Bugfix Pull Request
COMPONENT NAME

zabbix_authentication

ADDITIONAL INFORMATION

See the added integration tests for steps on how to reproduce

Copy link

codecov bot commented Sep 6, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 78.10%. Comparing base (a09cb00) to head (e87c33b).
Report is 12 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1388      +/-   ##
==========================================
+ Coverage   76.29%   78.10%   +1.81%     
==========================================
  Files          45       45              
  Lines        5619     5641      +22     
  Branches     1423     1427       +4     
==========================================
+ Hits         4287     4406     +119     
+ Misses        836      768      -68     
+ Partials      496      467      -29     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@CircuitCipher
Copy link
Contributor Author

CircuitCipher commented Sep 6, 2024

Working on fixes for 6.0.


- name: Set the login result based on current zabbix version
set_fact:
login_result: "{{ check_login_under64_result if zabbix_version is version('6.4', '<') else check_login_result }}"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Where do you set check_login_result first time for >= 6.4?

Copy link
Contributor Author

@CircuitCipher CircuitCipher Sep 6, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@pyrodie18 pyrodie18 merged commit 5ad5046 into ansible-collections:main Sep 7, 2024
43 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants