fix 🐛: Update SSH key variable references to join public keys with newline in testing.yml

This commit is contained in:
2025-12-08 10:16:02 +01:00
parent b70c32993d
commit c33a1e730b

View File

@@ -33,7 +33,7 @@
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: "{{ ssh_public_keys }}" # gets your ssh key from /home/user/.ssh/id_rsa.pub -- customize this to your needs
proxmox_template_vm_ubuntu_sshkeys: "{{ ssh_public_keys | join('\n') }}" # 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
@@ -43,7 +43,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: "{{ ssh_public_keys }}" # gets your ssh key from /home/user/.ssh/id_rsa.pub -- customize this to your needs
proxmox_template_vm_fedora_sshkeys: "{{ ssh_public_keys | join('\n') }}" # 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