Skip to main content

Git Role

Install git and optionally configure system-wide git settings.


Variables​

VariableTypeOptionsDefaultDescription
git_package_statestringpresent, absent, latestpresentdesired state of git packages
git_packagelist of string---["git"]list of packages to install
git_config_systemlist of dict---system-wide git configuration entries
git_config_system.keystring---git configuration key
git_config_system.valuestring---git configuration value
git_configlist of dict---per-user git configuration entries
git_config.keystring---git configuration key
git_config.valuestring---git configuration value
git_config.scopestringfile, local, globalgit configuration scope