【文件属性】:
文件名称:playbook:为RehatCent OS 7写的ansible剧本,用于一键部署多种服务
文件大小:8.39MB
文件格式:ZIP
更新时间:2021-03-10 08:54:48
HTML
简介
ansible剧本适用于Rehat / Cent OS 7部署环境
介绍
将为服务器配置如下内容:
扎比克斯
安装
1.1使用epel源安装
1.1.1先安装epel源
# 适用于 RHEL/CentOS 7
yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
1.1.2安装ansible
yum install -y ansible
# 安装成功后验证
[root@ops ~ ] # ansible --version
ansible 2.9.16
config file = /etc/ansible/ansible.cfg # 默认配置文件目录
configured module search path = [u ' /root/.ansib
【文件预览】:
playbook-main
----zabbix_agent_install.yml(65B)
----roles()
--------nginx()
--------zabbix-agent()
--------docker()
--------zabbix-server()
--------tomcat()
----nginx_role.yml(58B)
----docker_install.yml(59B)
----zabbix_server_install.yml(66B)
----README.md(2KB)
----sshkey.yml(279B)