Update 'tasks/dotfiles.yml'

main
nils 2 years ago
parent f472dfbf20
commit 57a848c48e

@ -11,7 +11,7 @@
- name: Check if already stowed
stat:
path: ~/.stowed
path: /home/nige/.stowed
register: st
tags:
- git
@ -23,7 +23,7 @@
- name: Remove existing .bashrc from home
file:
path: ~/.bashrc
path: /home/nige/.bashrc
state: absent
when: st.stat.islnk is not defined
tags:
@ -37,7 +37,7 @@
- name: Clone the dotfiles repository
git:
repo: https://git.gerstner.se/nils/ansible_dotfiles.git
dest: ~/dotfiles
dest: /home/nige/dotfiles
when: st.stat.islnk is not defined
tags:
- git
@ -64,7 +64,7 @@
- name: Stow the dotfiles
shell: |
stow --verbose 2 --dir "${HOME}/dotfiles" --target "${HOME}" .
stow --verbose 2 --dir "/home/nige/dotfiles" --target "/home/nige/ .
when: st.stat.islnk is not defined
tags:
- git

Loading…
Cancel
Save