mirror of https://github.com/easzlab/kubeasz.git
调整部分基础软件安装
parent
84c2146c72
commit
d0d941589e
|
@ -12,14 +12,6 @@
|
||||||
- "{{ bin_dir }}"
|
- "{{ bin_dir }}"
|
||||||
- "/etc/containerd"
|
- "/etc/containerd"
|
||||||
|
|
||||||
- name: 安装 libseccomp2
|
|
||||||
package: name=libseccomp2 state=present
|
|
||||||
when: 'ansible_distribution in ["Ubuntu","Debian"]'
|
|
||||||
|
|
||||||
- name: 安装 libseccomp
|
|
||||||
package: name=libseccomp state=present
|
|
||||||
when: 'ansible_distribution in ["CentOS","RedHat","Amazon"]'
|
|
||||||
|
|
||||||
- name: 加载内核模块 overlay
|
- name: 加载内核模块 overlay
|
||||||
modprobe: name=overlay state=present
|
modprobe: name=overlay state=present
|
||||||
|
|
||||||
|
|
|
@ -19,15 +19,15 @@
|
||||||
- name: 安装基础软件包
|
- name: 安装基础软件包
|
||||||
yum:
|
yum:
|
||||||
name:
|
name:
|
||||||
- conntrack-tools # ipvs 模式需要
|
|
||||||
- psmisc # 安装psmisc 才能使用命令killall,它在keepalive的监测脚本中使用到
|
|
||||||
- nfs-utils # 挂载nfs 共享文件需要 (创建基于 nfs的PV 需要)
|
|
||||||
#- jq # 轻量JSON处理程序,安装docker查询镜像需要
|
|
||||||
- socat # 用于port forwarding
|
|
||||||
- bash-completion # bash命令补全工具,需要重新登录服务器生效
|
- bash-completion # bash命令补全工具,需要重新登录服务器生效
|
||||||
|
- conntrack-tools # ipvs 模式需要
|
||||||
|
- ipset # ipvs 模式需要
|
||||||
|
- ipvsadm # ipvs 模式需要
|
||||||
|
- libseccomp # 安装containerd需要
|
||||||
|
- nfs-utils # 挂载nfs 共享文件需要 (创建基于 nfs的PV 需要)
|
||||||
|
- psmisc # 安装psmisc 才能使用命令killall,keepalive的监测脚本需要
|
||||||
- rsync # 文件同步工具,分发证书等配置文件需要
|
- rsync # 文件同步工具,分发证书等配置文件需要
|
||||||
- ipset
|
- socat # 用于port forwarding
|
||||||
- ipvsadm
|
|
||||||
state: present
|
state: present
|
||||||
when: 'INSTALL_SOURCE != "offline"'
|
when: 'INSTALL_SOURCE != "offline"'
|
||||||
|
|
||||||
|
|
|
@ -14,14 +14,15 @@
|
||||||
- name: 安装 ubuntu/debian基础软件
|
- name: 安装 ubuntu/debian基础软件
|
||||||
apt:
|
apt:
|
||||||
name:
|
name:
|
||||||
- nfs-common # 挂载nfs 共享文件需要 (创建基于 nfs的PV 需要)
|
|
||||||
- conntrack # network connection cleanup 用到
|
|
||||||
- jq # 轻量JSON处理程序,安装docker查询镜像需要
|
|
||||||
- socat # 用于port forwarding
|
|
||||||
- bash-completion # bash命令补全工具,需要重新登录服务器生效
|
- bash-completion # bash命令补全工具,需要重新登录服务器生效
|
||||||
|
- conntrack # network connection cleanup 用到
|
||||||
|
- ipset # ipvs 模式需要
|
||||||
|
- ipvsadm # ipvs 模式需要
|
||||||
|
- jq # 轻量JSON处理程序,安装docker查询镜像需要
|
||||||
|
- libseccomp2 # 安装containerd需要
|
||||||
|
- nfs-common # 挂载nfs 共享文件需要 (创建基于 nfs的PV 需要)
|
||||||
- rsync # 文件同步工具,分发证书等配置文件需要
|
- rsync # 文件同步工具,分发证书等配置文件需要
|
||||||
- ipset
|
- socat # 用于port forwarding
|
||||||
- ipvsadm
|
|
||||||
state: present
|
state: present
|
||||||
when: 'INSTALL_SOURCE != "offline"'
|
when: 'INSTALL_SOURCE != "offline"'
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue