1 Star 0 Fork 2

chenglei1_yewu / demo-ansible

forked from wanghuiic / demo-ansible 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
build.sh 395 Bytes
一键复制 编辑 原始数据 按行查看 历史
wanghuiic 提交于 2022-10-11 15:34 . check ansible installed in virtualenv
#!/bin/bash
set -e
once=false
if [ ! -d usr1 ]; then
once=true
fi
if $once; then
virtualenv usr1
. usr1/bin/activate
pip install --upgrade pip
pip install pbr
pip install ansible
python setup.py bdist_wheel
else
. usr1/bin/activate
pip show pbr || { pip install pbr; }
pip show ansible || { pip install ansible; }
python setup.py bdist_wheel
fi
1
https://gitee.com/chenglei1_yewu/demo-ansible.git
git@gitee.com:chenglei1_yewu/demo-ansible.git
chenglei1_yewu
demo-ansible
demo-ansible
master

搜索帮助