diff options
author | binary <me@rgoncalves.se> | 2021-03-25 21:40:51 +0100 |
---|---|---|
committer | binary <me@rgoncalves.se> | 2021-03-25 21:40:51 +0100 |
commit | 3f6ecfce6ffeb89b8fc46d88d30236904a2967fe (patch) | |
tree | 89e2448d291891984799906d7d4d30da1078259a | |
parent | def308b0ec43b33cffa96baf4b6a5bf32931dc6e (diff) | |
download | infrastructure-3f6ecfce6ffeb89b8fc46d88d30236904a2967fe.tar.gz |
Add mardkwon and torrent packages
-rw-r--r-- | roles/_workstation/packages/vars/main.yml | 2 | ||||
-rw-r--r-- | roles/_workstation/sysconf/tasks/main.yml | 6 |
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 |