mirror of
https://git.decapod.one/brethil/dotfiles
synced 2024-11-23 12:01:30 +01:00
ansible: gitignore migration + install
This commit is contained in:
parent
9f566efa8e
commit
a3f74bf816
|
@ -75,6 +75,7 @@
|
|||
'pdbrc.py': '~/.pdbrc.py'
|
||||
# "ipython": "~/.ipython" # FIXME: ipython config is more complex
|
||||
'ansible/ansible.cfg': '~/.ansible.cfg'
|
||||
'gitignore': '~/.git/config/ignore'
|
||||
|
||||
- name: check undodir_migration
|
||||
stat: path=${HOME}/.vim_runtime/temp_dirs/undodir
|
||||
|
|
|
@ -15,3 +15,11 @@
|
|||
|
||||
- name: vim
|
||||
ansible.builtin.shell: DOTFILES={{DOTFILES}} vim -c 'PlugUpdate|qa!'
|
||||
|
||||
- name: check gitignore migration
|
||||
stat: path=${HOME}/.gitignore
|
||||
register: gitignore
|
||||
|
||||
- name: gitignore migration
|
||||
command: mkdir -p ${HOME}/.config/git && ln -s ${DOTFILES}/gitignore ${HOME}/.config/git/ignore && rm -f ~/.gitignore
|
||||
when: gitignore.stat.exists
|
||||
|
|
Loading…
Reference in New Issue
Block a user