Define dotfiles location as variable

This commit is contained in:
Michael Mandl 2020-05-31 12:52:20 +02:00
parent 43b4c129ed
commit 049a97b82e
3 changed files with 7 additions and 6 deletions

View file

@ -21,7 +21,7 @@
- name: install nvim config
become_user: "{{ account.name }}"
shell:
chdir: "{{ account.home }}/.dotfiles/nvim"
chdir: "{{ dotfiles }}/nvim"
cmd: ./install.sh
creates: "{{ account.home }}/.config/nvim/init.vim"