Authored by Your Name

新增yoho-web-new集群yohobuywap-node-activity日志同步

# inventory file for containers
# auto generated at 2019-11-05 11:11:27
# auto generated at 2019-11-05 17:19:42
[media-containers]
... ... @@ -49,3 +49,8 @@
10.66.233.4
10.66.233.8
[yoho-web-containers-new]
10.66.16.47
10.66.16.48
... ...
... ... @@ -371,6 +371,15 @@
roles:
- java-rsyslog
- hosts: yoho-web-containers-new
vars:
rsyslog_module: yohobuywap-node-activity
rsyslog_files:
- error/error
- info/info
remote_user: root
roles:
- java-rsyslog
... ...
... ... @@ -67,11 +67,12 @@ host_group = { "nginx": "java-nginx",
containers_host_group = { "media-containers": "media-containers",
"web-containers": "web-containers",
"yoho-java-container": "yoho-java-container",
"yoho-ops-container": "yoho-ops-container"
"yoho-ops-container": "yoho-ops-container",
"yoho-web-containers-new": "yoho-web-containers-new"
}
# all available zone groups
all_groups = {}
ClusterIds = {"yoho-java-container": "cls-rzb97zht","yoho-ops-container": "cls-gscif1o5","media-containers": "cls-qzkxrhg7","web-containers": "cls-ro6kl3cp"}
ClusterIds = {"yoho-java-container": "cls-rzb97zht","yoho-ops-container": "cls-gscif1o5","media-containers": "cls-qzkxrhg7","web-containers": "cls-ro6kl3cp","yoho-web-containers-new": "cls-ht4c6jkh"}
for _az in azs_mappings.keys():
groups = {}
all_groups[azs_mappings[_az]] = groups
... ...