diff --git a/tasks/dotfiles.yml b/tasks/dotfiles.yml index ecdf756..a91b054 100644 --- a/tasks/dotfiles.yml +++ b/tasks/dotfiles.yml @@ -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