calvinbui.ansible_git

Build Status GitHub release Ansible Quality Score Ansible Role

Ansible Git

Install the latest upstream Git and configure Git config

Requirements

N/A

Role Variables

git_config is in the syntax:

git_config:
  - name: setting
    value: value of setting
    scope: local/scope/system (default)
    repo: if scope is local, provide path to repo
  ...

e.g.

git_config:
  - name: user.name
    value: foo
    scope: global
  - name: user.email
    value: [email protected]
    scope: local
    repo: /tmp/gists

Dependencies

N/A

Example Playbook

- hosts: servers
  become: true
  pre_tasks:
    - name: Update apt cache.
      apt:
        update_cache: true
        cache_valid_time: 600
      changed_when: false
  roles:
   - role: ansible-git

License

GPLv3

Author Information

http://calvin.me

About

Git (official upstream) for Ubuntu LTS

Install
ansible-galaxy install calvinbui.ansible_git
GitHub repository
License
Unknown
Downloads
316
Owner
Soft tabs > spaces > tabs. I'm not a developer.