22 lines
445 B
YAML
22 lines
445 B
YAML
---
|
|
|
|
- name: install git packages
|
|
ansible.builtin.package:
|
|
name: git
|
|
state: installed
|
|
|
|
- name: create git config for sh based shells
|
|
ansible.builtin.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
|
|
ansible.builtin.template:
|
|
dest: /etc/profile.d/git.csh
|
|
src: git.csh.j2
|
|
mode: 0644
|
|
owner: root
|
|
group: root
|