From 1d0ba62653ee2442369ef7251ec50de74e898a3c Mon Sep 17 00:00:00 2001 From: Jose Date: Wed, 22 Oct 2025 17:27:51 +0200 Subject: [PATCH] =?UTF-8?q?fix=20=F0=9F=90=9B:=20Update=20tasks/setupacdc.?= =?UTF-8?q?yml=20to=20install=20both=20'proxmoxer'=20and=20'requests'=20Py?= =?UTF-8?q?thon=20libraries=20on=20the=20control=20node.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes the installation of required Python libraries for the Proxmox container setup. --- tasks/setupacdc.yml | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/tasks/setupacdc.yml b/tasks/setupacdc.yml index 6fb77a4..9a0dea9 100644 --- a/tasks/setupacdc.yml +++ b/tasks/setupacdc.yml @@ -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