votum.vagrant-gitconfig
votum.vagrant-gitconfig
将本地的 git 配置复制到虚拟机用户的主目录中。
要求
无。
角色变量
votum_vagrant_gitconfig_path_local
本地 .gitconfig 文件的路径
votum_vagrant_gitconfig_filemode
复制到虚拟机主目录时 .gitconfig 文件的权限模式
votum_vagrant_home_dir
虚拟机用户的主目录
依赖关系
无。
示例剧本
包含一个使用角色的示例(例如,作为参数传入的变量),对用户来说总是很有帮助:
- hosts: servers
roles:
- { role: votum.vagrant-gitconfig }
许可证
作者信息
VOTUM GmbH