From 57a848c48ef37f7dba4e523d36a8d843a7044cbe Mon Sep 17 00:00:00 2001 From: nils Date: Tue, 28 Mar 2023 16:58:47 +0200 Subject: [PATCH] Update 'tasks/dotfiles.yml' --- tasks/dotfiles.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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