mirror of https://github.com/easzlab/kubeasz.git
fix: installing system packages
parent
49bc8c410f
commit
215667cdc9
|
@ -10,18 +10,6 @@
|
|||
state: absent
|
||||
backup: 'yes'
|
||||
|
||||
- name: 安装基础软件包
|
||||
package:
|
||||
name:
|
||||
- bash-completion # bash命令补全工具,需要重新登录服务器生效
|
||||
- ipset # ipvs 模式需要
|
||||
- ipvsadm # ipvs 模式需要
|
||||
- psmisc # 安装psmisc 才能使用命令killall,keepalive的监测脚本需要
|
||||
- rsync # 文件同步工具,分发证书等配置文件需要
|
||||
- socat # 用于port forwarding
|
||||
state: present
|
||||
when: 'INSTALL_SOURCE != "offline"'
|
||||
|
||||
- name: 加载内核模块
|
||||
modprobe: name={{ item }} state=present
|
||||
with_items:
|
||||
|
|
|
@ -19,10 +19,16 @@
|
|||
- name: 安装 ubuntu/debian基础软件
|
||||
package:
|
||||
name:
|
||||
- bash-completion # bash命令补全工具,需要重新登录服务器生效
|
||||
- conntrack # network connection cleanup 用到
|
||||
- ipset # ipvs 模式需要
|
||||
- ipvsadm # ipvs 模式需要
|
||||
- jq # 轻量JSON处理程序,安装docker查询镜像需要
|
||||
- libseccomp2 # 安装containerd需要
|
||||
- nfs-common # 挂载nfs 共享文件需要 (创建基于 nfs的PV 需要)
|
||||
- psmisc # 安装psmisc 才能使用命令killall,keepalive的监测脚本需要
|
||||
- rsync # 文件同步工具,分发证书等配置文件需要
|
||||
- socat # 用于port forwarding
|
||||
state: present
|
||||
when: 'INSTALL_SOURCE != "offline"'
|
||||
|
||||
|
|
|
@ -10,9 +10,15 @@
|
|||
- name: 安装基础软件包
|
||||
package:
|
||||
name:
|
||||
- bash-completion # bash命令补全工具,需要重新登录服务器生效
|
||||
- conntrack-tools # ipvs 模式需要
|
||||
- ipset # ipvs 模式需要
|
||||
- ipvsadm # ipvs 模式需要
|
||||
- libseccomp # 安装containerd需要
|
||||
- nfs-utils # 挂载nfs 共享文件需要 (创建基于 nfs的PV 需要)
|
||||
- psmisc # 安装psmisc 才能使用命令killall,keepalive的监测脚本需要
|
||||
- rsync # 文件同步工具,分发证书等配置文件需要
|
||||
- socat # 用于port forwarding
|
||||
state: present
|
||||
when: 'INSTALL_SOURCE != "offline"'
|
||||
|
||||
|
|
Loading…
Reference in New Issue