From 5329293c16f9286b19ed17016ed5bcdd44f16def Mon Sep 17 00:00:00 2001 From: Robin Krahl Date: Tue, 22 Jan 2019 00:40:39 +0100 Subject: Check bashrc status before stowing bash --- config-terminal/tasks/main.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config-terminal') diff --git a/config-terminal/tasks/main.yaml b/config-terminal/tasks/main.yaml index ac1e495..7261cb8 100644 --- a/config-terminal/tasks/main.yaml +++ b/config-terminal/tasks/main.yaml @@ -7,7 +7,7 @@ file: path: "/home/{{ user_name }}/.profile" state: absent - when: profile.stat is defined and profile.stat.islnk == False + when: profile.stat.islnk is defined and profile.stat.islnk == False - name: Apply dotfiles command: "stow --target /home/{{ user_name }}/ --dir /home/{{ user_name }}/.local/share/dotfiles {{ item }}" with_items: -- cgit v1.2.3