fix 🐛: Update tasks/setupacdc.yml to install both 'proxmoxer' and 'requests' Python libraries on the control node.

Fixes the installation of required Python libraries for the Proxmox container setup.
This commit is contained in:
2025-10-22 17:27:51 +02:00
parent 3fe2166f00
commit 1d0ba62653

View File

@@ -1,13 +1,3 @@
- hosts: localhost
tasks:
- name: Install 'proxmoxer' Python library on the control node
ansible.builtin.pip:
name: proxmoxer
state: present
delegate_to: localhost
# become: yes # Required if installing to the system Python environment
- hosts: node0
gather_facts: yes
vars:
@@ -15,7 +5,17 @@
mac_address: "8E:90:31:DE:31:36"
tasks:
- name: Install 'proxmoxer' and 'requests' Python libraries on the control node
ansible.builtin.pip:
# List both libraries here
name:
- proxmoxer
- requests
state: present
# delegate_to: localhost
become: yes # Use 'become: yes' if installing to the system Python environment
- name: Create lxc container
community.proxmox.proxmox:
vmid: 200