Ansible内容管理器
mazer的Python项目详细描述
马泽
Ansible内容管理器
一个新的命令行工具,用于管理ansible内容。
期待突破性的变化!
Mazer是实验性的,目前只提供技术预览。小心使用!它不打算用于 生产环境,目前也不打算取代ansible galaxy命令行工具。
如果您正在生产环境中安装ansible内容,或者需要ansible的帮助,请访问ansible项目, 或ansible docs网站
文档
有关mazer的其他文档,请查看ansible galaxy docs上的mazer主题。 另请参见github上的详细自述文件。
示例
安装角色
通过Galaxy安装
$ mazer install geerlingguy.nginx
有关更多示例,请参见mazer github repo。
安装Mazer
源代码
mazer的源代码位于https://github.com/ansibe/mazer" rel="nofollow">https://github.com/ansibe/mazer
< Buff行情> $git clone https://github.com/ansible/mazer.git 美元马克泽 $python setup.py安装或者通过pip安装需求:
$ pip install -r requirements.txt
通过PIP(来自Git)
< Buff行情> pip安装-v git+ssh://git@github.com/ansibe/mazer.git测试
单元测试
mazer使用pytest进行单元测试。
测试要求
要安装测试需求,请使用pip安装requirements\u test.txt中的需求:
pip install -r requirements_test.txt
通过
tox
为默认平台(python 2.6、2.7、3.6)运行单元测试:
$ tox
直接通过"pytest":
$ pytest tests/
测试要求
要安装测试需求,请使用pip安装requirements\u test.txt中的需求:
pip install -r requirements_test.txt
通过 tox 为默认平台(python 2.6、2.7、3.6)运行单元测试:
$ tox
直接通过"pytest":
$ pytest tests/
先决条件
从Ansible Galaxy服务器安装内容时,需要Galaxy V3.0+。
路线图
要了解我们在做什么,以及我们的方向,请查看路线图
获取帮助
欢迎发布!如果您发现一个bug或有一个功能想法,请通过打开一个问题来通知我们。
您也可以通过"Ansible Galaxy频道"的irc.freenode.net与我们联系。
"mazer"的起源
mazer这个名字来源于ender的游戏mazer rackham中的一个角色,wikipedia称之为"半毛利人的船长,他意识到窃听者是一个蜂巢般的头脑,单枪匹马地阻止了第二次入侵。由于他无法传授自己的知识,他被迫以相对论的速度(八年后到达拉克姆)呆了五十年,以便训练下一任指挥官恩德·维金。"
马泽尔也是一种硬木饮水器。