fix 🐛: Update Proxmox container creation task to use new hostname and MAC address variables.

This commit updates the `setupacdc.yml` file to include new variables for the container's hostname and MAC address, which are used in the Proxmox container creation task. The changes ensure that the task is more flexible and reusable.
This commit is contained in:
2025-10-21 21:13:39 +02:00
parent d567df4365
commit 4da2a47a26

View File

@@ -1,11 +1,12 @@
- hosts: "node0" - hosts: "node0"
gather_facts: yes gather_facts: yes
tasks: tasks:
- vars:
addc_hostname: "DC1"
mac_address: "8E:90:31:DE:31:36"
- name: Create lxc container - name: Create lxc container
community.proxmox.proxmox: community.proxmox.proxmox:
addc_hostname: "DC1"
mac_address: "8E:90:31:DE:31:36"
vmid: 200 vmid: 200
node: node0 node: node0
api_user: root@pam api_user: root@pam