mirror of
https://github.com/batonogov/learn-devops.git
synced 2025-11-29 16:53:01 +00:00
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:
committed by
GitHub
parent
07fb0c68bf
commit
fab1ba15f3
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user