chore 📦: Update setupacdc.yml with new variables and task

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.
This commit is contained in:
2025-11-01 10:41:26 +01:00
parent f3607d2e5a
commit bbc8c672c2

View File

@@ -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