diff --git a/install.yml b/install.yml index 9fb7b9f661dc5331f45dec43ed7b7b3f5b1a0c80..864c05875e6588d8180a870cc87009db23a626b2 100644 --- a/install.yml +++ b/install.yml @@ -12,3 +12,5 @@ import_tasks: tasks/create_users.yml - name: Other useful packages import_tasks: tasks/other-packages.yml + - name: Linstor setup + import_tasks: tasks/linstor-setup.yml \ No newline at end of file diff --git a/tasks/linstor-setup.yml b/tasks/linstor-setup.yml new file mode 100644 index 0000000000000000000000000000000000000000..7384e4c9446d940f1e2e27fb97f97f898e2c25f1 --- /dev/null +++ b/tasks/linstor-setup.yml @@ -0,0 +1,20 @@ +--- +- name: Add linbit key + apt_key: + url: https://packages.linbit.com/package-signing-pubkey.asc + +- name: Add linstor repo + apt_repository: + repo: deb https://packages.linbit.com/proxmox proxmox-7 drbd-9 + +- name: Install linstor stuff + apt: + name: + - pve-headers + - drbd-dkms + - drbd-utils + - linstor-controller + - linstor-satellite + - linstor-client + - linstor-proxmox + state: present diff --git a/tasks/other-packages.yml b/tasks/other-packages.yml new file mode 100644 index 0000000000000000000000000000000000000000..e841389ce0522a4caf7213afa3f5fc8a5f81c015 --- /dev/null +++ b/tasks/other-packages.yml @@ -0,0 +1,6 @@ +--- +- name: Install some useful stuff + apt: + name: + - mc + state: present