]> xn--ix-yja.es Git - alex.git/commitdiff
Add EL8 support and fix error
authoralex <alex@pdp7.net>
Sat, 21 Jan 2023 23:40:50 +0000 (00:40 +0100)
committeralex <alex@pdp7.net>
Sat, 21 Jan 2023 23:40:50 +0000 (00:40 +0100)
personal_infra/playbooks/proxmox_create_lxc.yml

index 8dd91afdcc90f6de5d9ab4bb860e4a69523f1277..c904fa8db8fc7c4bf83cbc139e28b462202f4c2a 100644 (file)
@@ -8,13 +8,16 @@
 
   vars:
     flavors:
+      el8:
+        template: rockylinux-8-default_20210929
+        pct_ostype: centos
       el9:
         template: rockylinux-9-default_20221109
         pct_ostype: centos
         
   tasks:
     - name: download template
-      command: "pveam download local {{ flavors[proxmox.flavor].template }}"
+      command: "pveam download local {{ flavors[proxmox.flavor].template }}_amd64.tar.xz"
       args:
         creates: "/var/lib/vz/template/cache/{{ flavors[proxmox.flavor].template }}_amd64.tar.xz"
       delegate_to: "{{ proxmox.host }}"