marcus-grant/ansible-collection-dotfiles

git role that installs git, sets up its configs that all cloning roles depend on

marcus-grant opened this issue · 1 comments

A lot of roles in the dotfiles repo depend on git to clone dotfile sets. It's good to manage role dependencies in ansible by declaring dependencies. Have a git role that:

  • Installs git
  • Templates in a git config file with several good starting configurations like username, real name, email, rebase/merge settings, default commit template, etc.
  • Also have it template/lineinfile ssh entries for github/gitlab for example so the SSH part of git works as expected

c44f2e9 handled this