mlangry.git

ansible-role-gitBuild Status

Ansible role for installing and configuring git

Requirements

None

Role Variables

git_config_file: ~/.gitconfig
git_config:
  color:
    branch: auto
    diff: auto
    interactive: auto
    status: auto
    ui: auto
  core:
    editor: nano
    excludesfile: "~/.gitignore"
  alias:
    clo: clone
    co: checkout
    st: status
    pur: pull --rebase
    ci: commit
    rc: rebase --continue
    lg: log -M --decorate --graph --oneline
    br: branch
    sth: stash

git_ignore:
    - ".*"
    - "!.gitignore"
    - "!.htaccess"
    - "*~"
    - "*.log"

Dependencies

None

Example Playbook

    - hosts: all
      roles:
        - { role: mlangry.git }

License

MIT

About

Ansible role for installing and configuring git

Install
ansible-galaxy install mlangry.git
GitHub repository
License
mit
Downloads
117
Owner