From bbc8c672c22b6f3d6a046c781b53b76b1c43028c Mon Sep 17 00:00:00 2001 From: Jose Date: Sat, 1 Nov 2025 10:41:26 +0100 Subject: [PATCH] =?UTF-8?q?chore=20=F0=9F=93=A6:=20Update=20setupacdc.yml?= =?UTF-8?q?=20with=20new=20variables=20and=20task?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Updated the setupacdc.yml file to include a new variable for node IP address and added a debug task to print the node's IP address. This change is part of the build process update. --- tasks/setupacdc.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tasks/setupacdc.yml b/tasks/setupacdc.yml index b2037c9..0b5db19 100644 --- a/tasks/setupacdc.yml +++ b/tasks/setupacdc.yml @@ -4,6 +4,7 @@ vars: addc_hostname: "DC1" mac_address: "8E:90:31:DE:31:36" + node_ip: "{{ hostvars['node0']['ansible_host'] }}" tasks: - name: Install 'proxmoxer' and 'requests' Python libraries for the ansible controller @@ -14,6 +15,10 @@ state: present become: no + - name: Print node IP + debug: + msg: "The IP address of node0 is {{ node_ip }}" + - name: Create lxc container community.proxmox.proxmox: vmid: 200