diff options
| author | alex <alex@pdp7.net> | 2023-01-22 00:40:50 +0100 |
|---|---|---|
| committer | alex <alex@pdp7.net> | 2023-01-22 00:40:50 +0100 |
| commit | eea1b65b18cea29160061c9746172f1ed2d911c7 (patch) | |
| tree | 0785c3a189bb61edc8edaddc1338f797b4a1458a | |
| parent | f9ad4263eaf4d38f947ec75972906e44f466817c (diff) | |
Add EL8 support and fix error
| -rw-r--r-- | personal_infra/playbooks/proxmox_create_lxc.yml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/personal_infra/playbooks/proxmox_create_lxc.yml b/personal_infra/playbooks/proxmox_create_lxc.yml index 8dd91afd..c904fa8d 100644 --- a/personal_infra/playbooks/proxmox_create_lxc.yml +++ b/personal_infra/playbooks/proxmox_create_lxc.yml @@ -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 }}" |
