From 5ef5cf553cb763a72dddd25d9750596490672abd Mon Sep 17 00:00:00 2001 From: Jose Date: Sat, 1 Nov 2025 10:43:06 +0100 Subject: [PATCH] =?UTF-8?q?chore=20=F0=9F=93=A6:=20Update=20setupacdc.yml?= =?UTF-8?q?=20to=20use=20node=20IP=20instead=20of=20host=20variable?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Updated the `node` parameter in the Proxmox API connection to use the `node_ip` variable, which is now set to the IP address of the node. This change ensures consistency and accuracy when connecting to the Proxmox API. The update also reflects the recent changes made to the `hostvars` dictionary. --- tasks/setupacdc.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tasks/setupacdc.yml b/tasks/setupacdc.yml index 0b5db19..8d88e10 100644 --- a/tasks/setupacdc.yml +++ b/tasks/setupacdc.yml @@ -18,11 +18,11 @@ - name: Print node IP debug: msg: "The IP address of node0 is {{ node_ip }}" - + - name: Create lxc container community.proxmox.proxmox: vmid: 200 - node: "{{ hostvars['node0']['ansible_host'] }}" + node: "{{ node_ip }}" api_user: root@pam api_password: "{{ proxmox_password }}" api_host: node0