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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user