diff --git a/roles/k3s_storage/tasks/main.yml b/roles/k3s_storage/tasks/main.yml index fc446ac..65548fd 100644 --- a/roles/k3s_storage/tasks/main.yml +++ b/roles/k3s_storage/tasks/main.yml @@ -1,2 +1,3 @@ --- +- include_tasks: requirements.yml - include_tasks: installation.yml diff --git a/roles/k3s_storage/tasks/requirements.yml b/roles/k3s_storage/tasks/requirements.yml new file mode 100644 index 0000000..65bb412 --- /dev/null +++ b/roles/k3s_storage/tasks/requirements.yml @@ -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