8000 GitHub - piaotiejun/ansible_test: ansible测试部署web应用
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

piaotiejun/ansible_test

Repository files navigation

#ansible_test

这是一个用ansbile部署一个web应用的测试项目, 从github中获取web应用代码再部署到远程服务器(本例子中是127.0.0.1),最后启动web应用(gunicorn作为wsgi服务器 bottle为web框架,还为设置nginx反向代理,待处理);
只能运行在debian系统中;


run:

1. sudo ./run.py

2. ansible-playbook deploy.yaml -i hosts

打开浏览器,输入  http://127.0.0.1:10000/hello_world 可以看到输出。

About

ansible测试部署web应用

Resources

Stars

Watchers

Forks

Packages

No packages published
0