Skip to main content

Git Role

This Ansible role can be used to install git and customize git config.


Variables

VariablesTypeOptionsDefaults
git_package_state:stringpresent, absent, latestpresent
git_package:list---git
git_config_system:dict------
git_config_system.key:string------
git_config_system.value:string------
git_config:dict------
git_config.key:string------
git_config.value:string------
git_config.scope:stringfile, local, global---

Example Playbook

- name: Import git Role
hosts: all
roles:
- role: giftpilz0.general.git