调整默认使用yum/apt源安装系统软件等

pull/641/head
gjmzj 2019-07-03 22:39:23 +08:00
parent 2a35d3e7ac
commit 46973fb421
7 changed files with 9 additions and 6 deletions

View File

@ -10,4 +10,4 @@ ntp_servers:
local_network: "0.0.0.0/0"
# 离线安装 chrony (offline|online)
INSTALL_SOURCE: "offline"
INSTALL_SOURCE: "online"

View File

@ -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

View File

@ -63,7 +63,6 @@ data:
prometheus :9153
forward . /etc/resolv.conf
cache 30
loop
reload
loadbalance
}

View File

@ -15,4 +15,4 @@ INGRESS_NODEPORT_LB: "yes"
INGRESS_TLS_NODEPORT_LB: "yes"
# 离线安装 haproxy+keepalived (offline|online)
INSTALL_SOURCE: "offline"
INSTALL_SOURCE: "online"

View File

@ -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"

View File

@ -1,2 +1,2 @@
# 离线安装系统软件包 (offline|online)
INSTALL_SOURCE: "offline"
INSTALL_SOURCE: "online"

View File

@ -4,6 +4,8 @@
- firewalld
- python-firewall
- firewalld-filesystem
args:
warn: false
ignore_errors: true
#- name: 添加EPEL仓库