20 lines
329 B
YAML
20 lines
329 B
YAML
---
|
|
|
|
- name: Install git (Archlinux)
|
|
become: true
|
|
pacman:
|
|
name:
|
|
- git
|
|
when: ansible_distribution == 'Archlinux'
|
|
|
|
- name: Install git (Debian)
|
|
become: true
|
|
apt:
|
|
name:
|
|
- git
|
|
when: ansible_distribution == 'Debian'
|
|
|
|
- name: Copy global gitignore
|
|
copy:
|
|
src: ignore
|
|
dest: ~/.config/git/ignore
|