From 3f6ecfce6ffeb89b8fc46d88d30236904a2967fe Mon Sep 17 00:00:00 2001 From: binary Date: Thu, 25 Mar 2021 21:40:51 +0100 Subject: Add mardkwon and torrent packages --- roles/_workstation/sysconf/tasks/main.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'roles/_workstation/sysconf') 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 -- cgit v1.2.3