From 8c8f4ff417cd3dbbaa30bf270e9340d318532ee3 Mon Sep 17 00:00:00 2001 From: Jose Date: Mon, 8 Dec 2025 09:24:22 +0100 Subject: [PATCH] =?UTF-8?q?feat=20=E2=9C=A8:=20Update=20SSH=20key=20variab?= =?UTF-8?q?le=20references=20for=20Ubuntu=20and=20Fedora=20templates=20in?= =?UTF-8?q?=20testing.yml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tasks/testing.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/tasks/testing.yml b/tasks/testing.yml index 95c17b9..4c4a4cb 100644 --- a/tasks/testing.yml +++ b/tasks/testing.yml @@ -4,11 +4,12 @@ tasks: # - name: Import variables from Ansible vault # ansible.builtin.include_vars: secrets.yml - + - name: Deploy templates with proxmox_template_vm ansible.builtin.include_role: name: joshrnoll.homelab.proxmox_template_vm vars: + # Required to provide at least one proxmox_template_vm_distros: - fedora @@ -26,7 +27,8 @@ proxmox_template_vm_ubuntu_cores: 1 proxmox_template_vm_ubuntu_ciuser: "{{ ciuser }}" # From Ansible vault proxmox_template_vm_ubuntu_cipassword: "{{ cipassword }}" # From Ansible vault - proxmox_template_vm_ubuntu_sshkeys: "{{ lookup('file', lookup('env', 'HOME') + '/.ssh/id_rsa.pub') }}" # gets your ssh key from /home/user/.ssh/id_rsa.pub -- customize this to your needs + # proxmox_template_vm_ubuntu_sshkeys: "{{ lookup('file', lookup('env', 'HOME') + '/.ssh/id_rsa.pub') }}" # gets your ssh key from /home/user/.ssh/id_rsa.pub -- customize this to your needs + proxmox_template_vm_ubuntu_sshkeys: "{{ ssh_public_keys }}" # gets your ssh key from /home/user/.ssh/id_rsa.pub -- customize this to your needs proxmox_template_vm_ubuntu_vlan: 50 # Optional customizations for fedora @@ -36,7 +38,7 @@ proxmox_template_vm_fedora_cores: 1 proxmox_template_vm_fedora_ciuser: "{{ ciuser }}" # From Ansible vault proxmox_template_vm_fedora_cipassword: "{{ cipassword }}" # From Ansible vault - proxmox_template_vm_fedora_sshkeys: "{{ lookup('file', lookup('env', 'HOME') + '/.ssh/id_rsa.pub') }}" # gets your ssh key from /home/user/.ssh/id_rsa.pub -- customize this to your needs + proxmox_template_vm_fedora_sshkeys: "{{ ssh_public_keys }}" # gets your ssh key from /home/user/.ssh/id_rsa.pub -- customize this to your needs proxmox_template_vm_fedora_vlan: 50 # Set to true if you have slow storage to avoid file locks