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

[2.15] fix handling allow_duplicates with the role cache (#82691) #82928

Merged
merged 1 commit into from Apr 10, 2024

Commits on Apr 2, 2024

  1. fix handling allow_duplicates with the role cache (ansible#82691)

    allow_duplicates is not part of the role uniqueness, so the value on the cached role may not match the current role.
    
    * remove the allow_duplicates check from Role.has_run() which operates on the deduplicated role
    * check the current role's allow_duplicates value in the strategy
    
    (cherry picked from commit b3d8cdd)
    
    Co-authored-by: Martin Krizek <martin.krizek@gmail.com>
    s-hertel and mkrizek committed Apr 2, 2024
    Copy the full SHA
    fa8a1f4 View commit details
    Browse the repository at this point in the history