summaryrefslogtreecommitdiffstats
path: root/roles/pve/tasks/main.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/pve/tasks/main.yml')
-rw-r--r--roles/pve/tasks/main.yml12
1 files changed, 12 insertions, 0 deletions
diff --git a/roles/pve/tasks/main.yml b/roles/pve/tasks/main.yml
index 8c54c27c..494fc7aa 100644
--- a/roles/pve/tasks/main.yml
+++ b/roles/pve/tasks/main.yml
@@ -1,4 +1,16 @@
---
+- name: "Set management IP in /etc/hosts for PVE cert generation"
+ become: true
+ ansible.builtin.template:
+ src: "hosts.j2"
+ dest: "/etc/hosts"
+ owner: "root"
+ group: "root"
+ mode: "0644"
+ tags:
+ # pveproxy not available in containers — requires proxmox-ve package
+ - "molecule-notest"
+
- name: "Install proxmox-ve"
become: true
ansible.builtin.apt: