added hostname parameter for configuration
This commit is contained in:
@@ -63,11 +63,13 @@
|
||||
api_token_secret: "{{ proxmox_api_token_secret }}"
|
||||
node: "{{ target_node }}"
|
||||
vmid: "{{ cloned_lxc.vmid }}"
|
||||
hostname: "{{ vm_hostname }}"
|
||||
cores: "{{ cpu_cores }}"
|
||||
memory: "{{ ram_gb | int * 1024 }}"
|
||||
netif:
|
||||
net0: "name=eth0,bridge=vmbr0,ip=dhcp"
|
||||
state: present
|
||||
update: true
|
||||
|
||||
- name: Start the LXC container
|
||||
community.proxmox.proxmox:
|
||||
|
||||
Reference in New Issue
Block a user