kosssi.gitconfig
ansible-role-gitconfig
Gitを設定するためのAnsibleロールです。
ロールのデフォルト変数
git_config:
<セクション>:
<キー>: <値>
git_ignore:
- ".vagrant"
- ".DS_Store"
例:
git_config:
user:
name: あなたの名前
email: [email protected]
core:
editor: vim
excludesfile: "~/.gitexcludesfile"
push:
default: current
git_ignore:
- "*.log"
- ".vagrant"
例のプレイブック
roles:
- { role: kosssi.gitconfig }
Vagrant
Vagrantがある場合、このロールをテストできます:
cd tests
vagrant up
ライセンス
MIT