# Where Do The \`community.proxmox\` Collection Dependencies Get Installed?

**URL:** <https://forum.ansible.com/t/where-do-the-community-proxmox-collection-dependencies-get-installed/43852>\
**Category:** Get Help\
**Tags:** proxmox\
**Created:** [July 12, 2025, 11:37am UTC](https://forum.ansible.com/t/where-do-the-community-proxmox-collection-dependencies-get-installed/43852 "2025-07-12T11:37:03Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dulux-Oz](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/dulux-oz/32/9047_2.png) [@Dulux-Oz](https://forum.ansible.com/u/Dulux-Oz)\
**Post date:** [July 12, 2025, 11:37am UTC](https://forum.ansible.com/t/where-do-the-community-proxmox-collection-dependencies-get-installed/43852/1 "2025-07-12T11:37:03Z")

</div>

Hi All,

Sorry for the N00b question, but with the `community.proxmox` collection, do the dependencies (ie `proxmoxer` and `requests`) get installed on the Ansible Control Computer, or the Proxmox Server?

Thanks in advance

Dulux-Oz

---

<div class="post-metadata">

**Author:** ![felixfontein](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/felixfontein/32/7530_2.png) [@felixfontein](https://forum.ansible.com/u/felixfontein)\
**Post date:** [July 12, 2025, 11:40am UTC](https://forum.ansible.com/t/where-do-the-community-proxmox-collection-dependencies-get-installed/43852/2 "2025-07-12T11:40:10Z")

</div>

Hi and welcome to the forum!

If you’re installing a collection with `ansible-galaxy collection install`, Python and system dependencies are not installed _at all_. You have to do that manually.

If you’re building an Execution Environment with ansible-builder, then dependencies that the collection specifies are installed in the execution environment. In case of community.proxmox, this would be the Python package `proxmoxer >= 2.0` ([community.proxmox/meta/ee-requirements.txt at main · ansible-collections/community.proxmox · GitHub](https://github.com/ansible-collections/community.proxmox/blob/main/meta/ee-requirements.txt#L13)).

---

<div class="post-metadata">

**Author:** ![Dulux-Oz](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/dulux-oz/32/9047_2.png) [@Dulux-Oz](https://forum.ansible.com/u/Dulux-Oz)\
**Post date:** [July 12, 2025, 12:59pm UTC](https://forum.ansible.com/t/where-do-the-community-proxmox-collection-dependencies-get-installed/43852/3 "2025-07-12T12:59:40Z")

</div>

Hi @felixfontein,

Thank you for getting back to me - I really appreciate it.

I was aware of everything you pointed out, and my Ansible Control Computer (the one I run `ansible-playbook` from) is in the state you recommend (python’s installed, so is pip, and I’ve run the `ansible-galaxy` command).

However, what is tripping me up (apart from my general N00b-ness, or perhaps because of it) is that in the documentation for that collection’s modules it lists two dependencies (see my OP), along with the line `The below requirements are needed on the host that executes this module.`

I am unable to determine which “host” that line is referring too: my Proxmox Host or my Ansible Control Host - hence my question. 🙂

Would someone be kind and take pity on me and let me know - yes, it’s entirely my fault in not being able to parse that instruction correctly, but as I’ve said, I need some help - thanks.

Cheers  
Dulux-oz

---

<div class="post-metadata">

**Author:** ![Thulium-Drake](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/thulium-drake/32/833_2.png) [@Thulium-Drake](https://forum.ansible.com/u/Thulium-Drake)\
**Post date:** [July 12, 2025, 1:48pm UTC](https://forum.ansible.com/t/where-do-the-community-proxmox-collection-dependencies-get-installed/43852/4 "2025-07-12T13:48:55Z")

</div>

Hi there!

It depends ™! You can run the playbook on both nodes, either install Proxmoxer on the node you’re targeting (which probably is the proxmox node), or, install it on the Ansible controller and run the tasks locally, like this:

```auto
---
- name: 'Install updates on production hosts'
  hosts: 'all, !proxmox_nodes, !localhost, !irregular_online'
  tasks:
    - name: 'Ensure proxmoxer via pip'
      ansible.builtin.pip:
        name: 'proxmoxer'
        state: 'present'
      become: false
      run_once: true
      delegate_to: 'localhost'

    - name: 'Remove old maintenance snapshots of Proxmox VMs'
      community.proxmox.proxmox_snap:
        api_user: "{{ proxmox_username }}"
        api_password: "{{ proxmox_password }}"
        api_host: "{{ proxmox_cluster }}"
        vmid: "{{ proxmox_vmid }}"
        state: 'absent'
        snapname: "{{ snapshot }}"
      loop: "{{ proxmox_snapshots }}"
      loop_control:
        loop_var: 'snapshot'
      when:
        - proxmox_vmid is defined
        - snapshot is match("^maintenance_snap_*")
        - snapshot is not match("^maintenance_snap_" + ansible_facts['date_time']['date'])
      delegate_to: 'localhost'
      retries: 3
      delay: 3

    - name: 'Create maintenance snapshots of Proxmox VMs'
      community.proxmox.proxmox_snap:
        api_user: "{{ proxmox_username }}"
        api_password: "{{ proxmox_password }}"
        api_host: "{{ proxmox_cluster }}"
        vmid: "{{ proxmox_vmid }}"
        state: 'present'
        snapname: "maintenance_snap_{{ ansible_facts['date_time']['date'] }}"
        description: 'Pre system-updates'
      when: proxmox_vmid is defined
      delegate_to: 'localhost'
      become: false

```

This is a snippet from my `os_update_and_reboot.yml` playbook 😉

---

<div class="post-metadata">

**Author:** ![Dulux-Oz](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/dulux-oz/32/9047_2.png) [@Dulux-Oz](https://forum.ansible.com/u/Dulux-Oz)\
**Post date:** [July 14, 2025, 6:44am UTC](https://forum.ansible.com/t/where-do-the-community-proxmox-collection-dependencies-get-installed/43852/5 "2025-07-14T06:44:22Z")

</div>

Ahhh 😄 Thank you for that @Thulium-Drake - I was unaware that things could be done that way.

And thank you for the code snippet; I find those really useful when I’m learning a new system.

Cheers  
Dulux-Oz
