1
0
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:
bretello 2022-05-08 19:17:29 +02:00
parent 9f566efa8e
commit a3f74bf816
Signed by: brethil
GPG Key ID: 876AAC6290170FE7
2 changed files with 9 additions and 0 deletions

View File

@ -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

View File

@ -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