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
5dc7cab9
Commit
5dc7cab9
authored
Mar 04, 2019
by
ChongmingDu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update README.md
parent
374377f6
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
README.md
+2
-2
No files found.
README.md
View file @
5dc7cab9
...
...
@@ -23,8 +23,8 @@
2.
git clone http://code.mayi888.com/operation/Ant_Devops.git
3.
cd Ant_Devops
4.
设置免密认证。文档:https://blog.csdn.net/furzoom/article/details/79139570(如果免密认证失败,请在第七步加-k参数)
5.
修改
host.yml.examples中内容为远程主机公网地址,并重命名此文件为host.yml
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环境。
5.
vim
host.yml.examples中内容为远程主机公网地址,并重命名此文件为host.yml
6.
vim
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
## 本环境内容:
...
...
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