summaryrefslogtreecommitdiff
path: root/roles/dotfiles/tasks/main.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/dotfiles/tasks/main.yml')
-rw-r--r--roles/dotfiles/tasks/main.yml3
1 files changed, 1 insertions, 2 deletions
diff --git a/roles/dotfiles/tasks/main.yml b/roles/dotfiles/tasks/main.yml
index f34335f..36445e2 100644
--- a/roles/dotfiles/tasks/main.yml
+++ b/roles/dotfiles/tasks/main.yml
@@ -53,8 +53,7 @@
ansible.builtin.template:
src: misc/dotfiles/screenrc.j2
dest: ~{{ user }}/.screenrc
- # For some reason screen's exit status is 1 for --version.
- when: has_screen.rc == 1
+ when: has_screen.rc == 0
- name: Configure ssh if installed
tags: ssh