Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information