-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgit.yml
More file actions
45 lines (39 loc) · 989 Bytes
/
git.yml
File metadata and controls
45 lines (39 loc) · 989 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
---
- name: Perform Git actions
hosts: localhost
gather_facts: no
tasks:
- name: Configure Git
collections:
- community.general
block:
- name: Set email
git_config:
name: user.email
value: pierre.pirault@outlook.com
scope: global
- name: Set name
git_config:
name: user.name
value: Pierre Pirault
scope: global
- name: Set editor
git_config:
name: core.editor
value: vim
scope: global
- name: Set diff tool
git_config:
name: diff.tool
value: vimdiff
scope: global
- name: Set merge tool
git_config:
name: merge.tool
value: vimdiff
scope: global
- name: Set pull strategy
git_config:
name: pull.rebase
value: false
scope: global