Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Ant_Devops
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
mayi-operation
Ant_Devops
Commits
d0ddf848
Commit
d0ddf848
authored
Oct 20, 2018
by
杜崇铭
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update Maskdown
parent
efd0b9a1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
7 deletions
+8
-7
README.md
+8
-7
No files found.
README.md
View file @
d0ddf848
本环境只支持阿里云&腾讯云环境,其他环境如需使用请联系 decodedcm@gmail.com。使用本环境之前请先联系相关人员后,在进行使用。
本系统采用松耦合模块化配置,具体情况清根据自身需要选择模块。
##背景:
##
背景:
为了解决机器骤加的问题,推出本系统,旨在解决基本环境的安装及各个机器配置不统一情况。基于Devops理念,可运行简单的几条命令即可完成复杂的配置工作。
##面向群体:全体
##
面向群体:全体
##Base
##
Base
裸配置机器请先运行此模块
###使用:
###
使用:
1.
个人环境安装ansible,使用pip工具安装(需要Python3)。pip3 install ansible即可完成。
2.
git clone http://code.mayi888.com/operation/Ant_Devops.git
3.
cd Ant_Devops
...
...
@@ -18,16 +18,16 @@
6.
修改roles/nginx/templates/examples.conf或roles/nginx/templates/examplesadmin.conf内容,把文中“examples”替换成需要的URL。其中,roles/nginx/templates/examples.conf适合前后分离的web环境。roles/nginx/templates/examplesadmin.conf适合用到“统一管理平台”的web环境。
7.
运行 ansible-playbook -i host.yml -u root standard.yml
##本环境内容:
##
本环境内容:
1.
nginx(tenginx 2.2.2)
2.
openjdk(1.8)
3.
docker(17.12.1-ce)
4.
git(2.9.5)
##Zabbix
##
Zabbix
自动化部署Zabbix监控
###使用:
###
使用:
1-5同上
6.
修改变量 roles/zabbix_server/templates/zabbix_server.conf(DB开头的三个变量),roles/zabbix_agent/templates/zabbix_agentd.conf(Server变量),roles/zabbix_server/files/zabbix_db.sh(mysql的变量),var/main.yml(mysql args变量)
7.
运行ansible-playbook -i host.yml -u root zabbix.yml
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment