nephelaiio.git
nephelaiio.git
这是一个 ansible role,用于安装和配置 git。
角色变量
请参考 defaults 文件 以获取最新的输入参数列表。
示例剧本
- hosts: servers
roles:
- role: nephelaiio.git
git_packages_state: latest
测试
请确保您的环境中安装了 docker,以便运行角色验证测试。其他 Python 依赖项列在 requirements 文件 中。
此角色在以下发行版(docker 镜像)上进行了测试:
- Ubuntu Focal
- Ubuntu Bionic
- Ubuntu Xenial
- CentOS 7
- Debian Buster
您可以使用命令 molecule test
从源代码直接测试这个角色。
许可证
该项目根据 MIT 许可证 进行授权。