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 /roles/_workstation/sysconf | |
parent | def308b0ec43b33cffa96baf4b6a5bf32931dc6e (diff) | |
download | infrastructure-3f6ecfce6ffeb89b8fc46d88d30236904a2967fe.tar.gz |
Add mardkwon and torrent packages
Diffstat (limited to 'roles/_workstation/sysconf')
-rw-r--r-- | roles/_workstation/sysconf/tasks/main.yml | 6 |
1 files changed, 3 insertions, 3 deletions
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 |