aboutsummaryrefslogtreecommitdiffstats
path: root/roles
diff options
context:
space:
mode:
Diffstat (limited to 'roles')
-rw-r--r--roles/_workstation/packages/vars/main.yml2
-rw-r--r--roles/_workstation/sysconf/tasks/main.yml6
2 files changed, 5 insertions, 3 deletions
diff --git a/roles/_workstation/packages/vars/main.yml b/roles/_workstation/packages/vars/main.yml
index d2fc9ec..0cdf503 100644
--- a/roles/_workstation/packages/vars/main.yml
+++ b/roles/_workstation/packages/vars/main.yml
@@ -13,6 +13,7 @@ pkgs_common:
# files
- curl
- git
+ - lowdown
- syncthing
- tar
- unzip
@@ -28,6 +29,7 @@ pkgs_common:
- firefox
- mpv
- qutebrowser
+ - rtorrent
- vlc
- weechat
# tools
diff --git a/roles/_workstation/sysconf/tasks/main.yml b/roles/_workstation/sysconf/tasks/main.yml
index 0f37962..0f61550 100644
--- a/roles/_workstation/sysconf/tasks/main.yml
+++ b/roles/_workstation/sysconf/tasks/main.yml
@@ -25,13 +25,13 @@
- name: check sudo binary path
shell: which sudo
- register: sudo
- ignore_errors: true
+ register: result
+ failed_when: result.rc | string not in "02"
- name: uninstall sudo binary
package:
name: sudo
state: absent
- when: sudo.rc == 0
+ when: result.rc == 0
register: sudo
ignore_errors: true
remember that computers suck.