mirror of
https://git.decapod.one/brethil/dotfiles
synced 2024-11-23 03:51:31 +01:00
install: make git config setup idem-potent
This commit is contained in:
parent
762f3ef58c
commit
96d7882471
|
@ -62,10 +62,20 @@
|
|||
# "ipython": "~/.ipython" # FIXME: ipython config is more complex
|
||||
"ansible.cfg": "~/.ansible.cfg"
|
||||
|
||||
- name: git config facts
|
||||
community.general.git_config:
|
||||
name: "include.path"
|
||||
scope: global
|
||||
register: config_value
|
||||
- debug:
|
||||
msg: "Git config include.path={{ config_value }}"
|
||||
|
||||
- name: git config
|
||||
community.general.git_config:
|
||||
name: "include.path"
|
||||
value: "{{ DOTFILES }}/gitconfig"
|
||||
scope: global
|
||||
when: config_value is not defined
|
||||
|
||||
- name: annoyances
|
||||
shell: |
|
||||
|
|
Loading…
Reference in New Issue
Block a user