diff --git a/roles/ensure-twine/tasks/main.yaml b/roles/ensure-twine/tasks/main.yaml index 8d966908d..4d166b65b 100644 --- a/roles/ensure-twine/tasks/main.yaml +++ b/roles/ensure-twine/tasks/main.yaml @@ -1,5 +1,8 @@ - name: Check for twine install - command: which twine + shell: | + command -v {{ twine_executable }} || exit 1 + args: + executable: /bin/bash failed_when: false register: register_twine