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

Conversation

nevart
Copy link
Contributor

@nevart nevart commented Jun 15, 2023

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.

tasks/setup-Debian.yml Outdated Show resolved Hide resolved
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
Copy link
Contributor Author

nevart commented Aug 5, 2023

@geerlingguy Anything I may do to get this merged?

@geerlingguy geerlingguy merged commit 8bb277b into geerlingguy:master Aug 10, 2023
8 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.

None yet

2 participants