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

win_package: support checksum verification #596

Open
mathstuf opened this issue Mar 27, 2024 · 2 comments
Open

win_package: support checksum verification #596

mathstuf opened this issue Mar 27, 2024 · 2 comments

Comments

@mathstuf
Copy link

SUMMARY

win_package should support checksum verification of network downloads

ISSUE TYPE
  • Feature Idea
COMPONENT NAME

ansible.windows.win_package

ADDITIONAL INFORMATION

Verify that the downloaded file is the one expected before execution.

- name: Install foobar
  ansible.windows.win_package:
    path: '{{ some_network_url }}'
    checksum: 'sha256sum:deadbeef…'
@jborean93
Copy link
Collaborator

This seems like a simple thing to implement. I'm not sure whether to split the algorithm selection into another option or to have the prefix like you've specified here or not though.

@mathstuf
Copy link
Author

mathstuf commented Apr 1, 2024

The Posix actions seem to use prefixes but Windows-specific actions seem to prefer split. I certainly prefer the former as it is one less variable to juggle, but consistency might be more valuable…

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

No branches or pull requests

2 participants