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

プロジェクトについて

Configure gitconfig and your gitignore global.

インストール
ansible-galaxy install kosssi.gitconfig
ライセンス
mit
ダウンロード
9.7k
所有者