summaryrefslogtreecommitdiffstats
path: root/roles/pve-lxc/tasks/main.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/pve-lxc/tasks/main.yml')
-rw-r--r--roles/pve-lxc/tasks/main.yml1
1 files changed, 1 insertions, 0 deletions
diff --git a/roles/pve-lxc/tasks/main.yml b/roles/pve-lxc/tasks/main.yml
index 12a2e814..c7c2962e 100644
--- a/roles/pve-lxc/tasks/main.yml
+++ b/roles/pve-lxc/tasks/main.yml
@@ -47,6 +47,7 @@
validate_certs: false
node: "{{ ansible_facts['hostname'] }}"
vmid: "{{ pve_lxc_id }}"
+ hostname: "{{ pve_lxc_hostname }}"
state: started
tags:
# PVE API not available in containers — requires proxmox-ve package