mirror of https://github.com/easzlab/kubeasz.git
调整默认使用yum/apt源安装系统软件等
parent
2a35d3e7ac
commit
46973fb421
|
@ -10,4 +10,4 @@ ntp_servers:
|
|||
local_network: "0.0.0.0/0"
|
||||
|
||||
# 离线安装 chrony (offline|online)
|
||||
INSTALL_SOURCE: "offline"
|
||||
INSTALL_SOURCE: "online"
|
||||
|
|
|
@ -10,7 +10,9 @@
|
|||
|
||||
- name: yum 卸载 ntp
|
||||
shell: 'yum remove -y ntp'
|
||||
when: 'ansible_distribution in ["CentOS","RedHat","Amazon"]'
|
||||
when: 'ansible_distribution in ["CentOS","RedHat","Amazon"]'
|
||||
args:
|
||||
warn: false
|
||||
ignore_errors: true
|
||||
|
||||
- name: 安装 chrony
|
||||
|
|
|
@ -63,7 +63,6 @@ data:
|
|||
prometheus :9153
|
||||
forward . /etc/resolv.conf
|
||||
cache 30
|
||||
loop
|
||||
reload
|
||||
loadbalance
|
||||
}
|
||||
|
|
|
@ -15,4 +15,4 @@ INGRESS_NODEPORT_LB: "yes"
|
|||
INGRESS_TLS_NODEPORT_LB: "yes"
|
||||
|
||||
# 离线安装 haproxy+keepalived (offline|online)
|
||||
INSTALL_SOURCE: "offline"
|
||||
INSTALL_SOURCE: "online"
|
||||
|
|
|
@ -44,4 +44,4 @@ KUBE_APISERVER: "{%- if inventory_hostname in groups['kube-master'] -%} \
|
|||
MASTER_CHG: "no"
|
||||
|
||||
# 离线安装 haproxy (offline|online)
|
||||
INSTALL_SOURCE: "offline"
|
||||
INSTALL_SOURCE: "online"
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
# 离线安装系统软件包 (offline|online)
|
||||
INSTALL_SOURCE: "offline"
|
||||
INSTALL_SOURCE: "online"
|
||||
|
|
|
@ -4,6 +4,8 @@
|
|||
- firewalld
|
||||
- python-firewall
|
||||
- firewalld-filesystem
|
||||
args:
|
||||
warn: false
|
||||
ignore_errors: true
|
||||
|
||||
#- name: 添加EPEL仓库
|
||||
|
|
Loading…
Reference in New Issue