chore 📦: Update setupacdc.yml to use node IP instead of host variable

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.
This commit is contained in:
2025-11-01 10:43:06 +01:00
parent bbc8c672c2
commit 5ef5cf553c

View File

@@ -22,7 +22,7 @@
- name: Create lxc container - name: Create lxc container
community.proxmox.proxmox: community.proxmox.proxmox:
vmid: 200 vmid: 200
node: "{{ hostvars['node0']['ansible_host'] }}" node: "{{ node_ip }}"
api_user: root@pam api_user: root@pam
api_password: "{{ proxmox_password }}" api_password: "{{ proxmox_password }}"
api_host: node0 api_host: node0