Add ReadWriteMany for longhorn (#5)

* Add ReadWriteMany for longhorn

* Remove upgrade-packages role

---------

Co-authored-by: Fedor Batonogov <f.batonogov@yandex.ru>
This commit is contained in:
github-actions[bot]
2024-04-26 08:30:46 +03:00
committed by GitHub
parent 07fb0c68bf
commit fab1ba15f3
2 changed files with 26 additions and 2 deletions

View File

@@ -99,3 +99,27 @@
with_items:
- kubelet
- crio
- name: Устанавливаю пакеты для Longhorn
become: true
hosts:
- kubeadm_nodes
tasks:
- name: Устанавливаю нужные пакеты
ansible.builtin.apt:
name:
- open-iscsi
- nfs-common
- bash
- curl
- grep
state: present
update_cache: true
- name: Включаю и запускаю службы
ansible.builtin.systemd:
name: '{{ item }}'
enabled: true
state: started
with_items:
- iscsid