Skip to content

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

Closed
@eltydari

Description

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

Metadata

Assignees

No one assigned

    Labels

    featureThis issue/PR relates to a feature requestmodulemodulepluginsplugin (any type)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions