summaryrefslogtreecommitdiff
path: root/config-terminal
diff options
context:
space:
mode:
authorRobin Krahl <me@robin-krahl.de>2019-01-22 00:40:39 +0100
committerRobin Krahl <me@robin-krahl.de>2019-01-22 00:40:39 +0100
commit5329293c16f9286b19ed17016ed5bcdd44f16def (patch)
tree3d31c4fd1b2ef478d0bb2bf30d53acce4a048c0d /config-terminal
parent184909d15d250a8b421e74098701856f71c652eb (diff)
downloadansible-roles-5329293c16f9286b19ed17016ed5bcdd44f16def.tar.gz
ansible-roles-5329293c16f9286b19ed17016ed5bcdd44f16def.tar.bz2
Check bashrc status before stowing bash
Diffstat (limited to 'config-terminal')
-rw-r--r--config-terminal/tasks/main.yaml2
1 files changed, 1 insertions, 1 deletions
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: