Add git client

This commit is contained in:
Timo Makinen 2021-06-24 19:31:55 +03:00
commit 8b6973f8be
3 changed files with 38 additions and 0 deletions

22
git/tasks/main.yml Normal file
View file

@ -0,0 +1,22 @@
---
- name: install git packages
package:
name: git
state: installed
- name: create git config for sh based shells
template:
dest: /etc/profile.d/git.sh
src: git.sh.j2
mode: 0644
owner: root
group: root
- name: create git config for csh based shells
template:
dest: /etc/profile.d/git.csh
src: git.csh.j2
mode: 0644
owner: root
group: root