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

Server-side artifact fetching feature in proxmox_template module does not include checksum option #9553

Open
1 task done
eltydari opened this issue Jan 8, 2025 · 3 comments
Labels
feature This issue/PR relates to a feature request module module plugins plugin (any type)

Comments

@eltydari
Copy link

eltydari commented Jan 8, 2025

Summary

On the Proxmox VE UI, I can download an ISO image and include a checksum to make sure the download is not corrupted. However, when I use the Ansible module, there is no option available to include a checksum.

When I look through the Issues section, it seems this was already suggested in #7402 but never addressed by #9113.

We need this functionality as previously we had been downloading the iso image locally and performing a checksum check before uploading to Proxmox. This needs to be automated by the module.

Issue Type

Feature Idea

Component Name

proxmox_template

Ansible Version

$ ansible --version
ansible [core 2.18.1]
  config file = /home/kheobs/repositories/pve-ansible/ansible.cfg
  configured module search path = ['/home/kheobs/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
  ansible python module location = /home/kheobs/.local/share/pipx/venvs/ansible/lib/python3.12/site-packages/ansible
  ansible collection location = /home/kheobs/.ansible/collections:/usr/share/ansible/collections
  executable location = /home/kheobs/.local/bin/ansible
  python version = 3.12.3 (main, Nov  6 2024, 18:32:19) [GCC 13.2.0] (/home/kheobs/.local/share/pipx/venvs/ansible/bin/python)
  jinja version = 3.1.5
  libyaml = True

Community.general Version

$ ansible-galaxy collection list community.general

# /home/kheobs/.local/share/pipx/venvs/ansible/lib/python3.12/site-packages/ansible_collections
Collection        Version
----------------- -------
community.general 10.1.0

Configuration

$ ansible-config dump --only-changed
CONFIG_FILE() = /home/kheobs/repositories/pve-ansible/ansible.cfg
DEFAULT_HOST_LIST(/home/kheobs/repositories/pve-ansible/ansible.cfg) = ['/home/kheobs/repositories/pve-ansible/inventory']
DEFAULT_REMOTE_USER(/home/kheobs/repositories/pve-ansible/ansible.cfg) = ansible
DEFAULT_VAULT_PASSWORD_FILE(/home/kheobs/repositories/pve-ansible/ansible.cfg) = /home/kheobs/ansible/vault.pass
HOST_KEY_CHECKING(/home/kheobs/repositories/pve-ansible/ansible.cfg) = False
INTERPRETER_PYTHON(/home/kheobs/repositories/pve-ansible/ansible.cfg) = auto_silent

GALAXY_SERVERS:

OS / Environment

Ubuntu 24.04.1

Steps to Reproduce

No need to reproduce as the issue is crystal clear.

Expected Results

I expected the template module to come with a checksum field.

Actual Results

The checksum field is missing.

Code of Conduct

  • I agree to follow the Ansible Code of Conduct
@ansibullbot
Copy link
Collaborator

Files identified in the description:

If these files are incorrect, please update the component name section of the description or use the !component bot command.

click here for bot help

@ansibullbot
Copy link
Collaborator

@ansibullbot ansibullbot added bug This issue/PR relates to a bug module module plugins plugin (any type) labels Jan 8, 2025
@felixfontein
Copy link
Collaborator

This is not a bug, but a feature request.

@felixfontein felixfontein added feature This issue/PR relates to a feature request and removed bug This issue/PR relates to a bug labels Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature This issue/PR relates to a feature request module module plugins plugin (any type)
Projects
None yet
Development

No branches or pull requests

3 participants