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

APT key: don't force and provide checksum, to fix check mode #418

Merged
merged 1 commit into from
Aug 10, 2023

Commits on Jun 26, 2023

  1. APT key: don't force and provide checksum, to fix check mode

    As described in ansible/ansible#65687, get_url
    only partially supports check_mode: "the changed status will reflect
    comparison to an empty source file".
    
    Before this change, executing this code, with the key already being in
    place on the target system, would report "OK", while check_mode would
    report "changed".
    
    Due to this change, both now either report "OK" or "changed", depending
    on the state of the target system.
    nevart committed Jun 26, 2023
    Configuration menu
    Copy the full SHA
    7c86fe1 View commit details
    Browse the repository at this point in the history