From 4da2a47a2621b5c561b84805e390f97c5043d134 Mon Sep 17 00:00:00 2001 From: Jose Date: Tue, 21 Oct 2025 21:13:39 +0200 Subject: [PATCH] =?UTF-8?q?fix=20=F0=9F=90=9B:=20Update=20Proxmox=20contai?= =?UTF-8?q?ner=20creation=20task=20to=20use=20new=20hostname=20and=20MAC?= =?UTF-8?q?=20address=20variables.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- tasks/setupacdc.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tasks/setupacdc.yml b/tasks/setupacdc.yml index dfc3b0e..2725284 100644 --- a/tasks/setupacdc.yml +++ b/tasks/setupacdc.yml @@ -1,11 +1,12 @@ - hosts: "node0" gather_facts: yes tasks: + - vars: + addc_hostname: "DC1" + mac_address: "8E:90:31:DE:31:36" - name: Create lxc container community.proxmox.proxmox: - addc_hostname: "DC1" - mac_address: "8E:90:31:DE:31:36" vmid: 200 node: node0 api_user: root@pam