Skip to content

Theme color

git

Install git and optionally configure system-wide git settings.

Usage

playbook.yml
- hosts: all
roles:
- role: giftpilz0.general.git

Variables

  • desired state of git packages.

    Choicespresentabsentlatest
    Defaultpresent
  • git_packagelist[str]

    list of packages to install.

    Default- git
  • system-wide git configuration entries.

    Default[]
    • keystr

      git configuration key.

    • git configuration value.

  • git_configlist[dict]

    per-user git configuration entries.

    Default[]
    • keystr

      git configuration key.

    • git configuration value.

    • git configuration scope.

      Choicesfilelocalglobal