added installation of reqs for longhorn

Signed-off-by: Tuan-Dat Tran <tuan-dat.tran@tudattr.dev>
rewrite
Tuan-Dat Tran 2024-10-08 05:20:35 +02:00
parent d16cc0db06
commit 05c35a546a
2 changed files with 20 additions and 0 deletions

View File

@ -1,2 +1,3 @@
--- ---
- include_tasks: requirements.yml
- include_tasks: installation.yml - include_tasks: installation.yml

View File

@ -0,0 +1,19 @@
---
- name: Update and upgrade packages
ansible.builtin.apt:
update_cache: true
upgrade: true
autoremove: true
become: true
- name: Install extra packages
ansible.builtin.apt:
name: "open-iscsi"
state: present
become: true
- name: Install extra packages
ansible.builtin.apt:
name: "nfs-common"
state: present
become: true