diff options
| -rw-r--r-- | roles/proxmox-ve/tasks/main.yml | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/roles/proxmox-ve/tasks/main.yml b/roles/proxmox-ve/tasks/main.yml index 25067d43..952a1e91 100644 --- a/roles/proxmox-ve/tasks/main.yml +++ b/roles/proxmox-ve/tasks/main.yml @@ -1,9 +1,16 @@ --- +- name: "Install proxmox-ve" + become: true + ansible.builtin.apt: + name: "proxmox-ve" + state: "present" + update_cache: true + - name: "Configure Proxmox repos" become: true when: proxmox_ve_repo == "no-subscription" block: - - name: "Configure no-subuscription repos" + - name: "Configure no-subscription repos" ansible.builtin.apt_repository: repo: "deb http://download.proxmox.com/debian/pve bookworm pve-no-subscription" state: "present" @@ -15,13 +22,6 @@ path: "/etc/apt/sources.list.d/pve-enterprise.list" state: "absent" -- name: "Install proxmox-ve" - become: true - ansible.builtin.apt: - name: "proxmox-ve" - state: "present" - update_cache: true - - name: "Disable IPv6 on wlan0 (prevents PVE cert generation failures with zone IDs)" become: true ansible.posix.sysctl: |
