From 342a810ac8058117c867c583d15935c50e6255f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Romain=20Gon=C3=A7alves?= Date: Tue, 21 Dec 2021 17:33:59 +0000 Subject: roles/cgit: Pass ansible-lint --- roles/cgit/tasks/dependencies.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'roles') diff --git a/roles/cgit/tasks/dependencies.yml b/roles/cgit/tasks/dependencies.yml index 41f0884..c0439e8 100644 --- a/roles/cgit/tasks/dependencies.yml +++ b/roles/cgit/tasks/dependencies.yml @@ -1,5 +1,7 @@ -- name: retrieve dependencies for lowdown - shell: ldd /usr/local/bin/lowdown | tr -s " " | grep "0 1 0" | cut -d " " -f 7 +- name: retrieve dependencies for lowdown # noqa: no-changed-when + shell: | + set -o pipefail + ldd /usr/local/bin/lowdown | tr -s " " | grep "0 1 0" | cut -d " " -f 7 register: result - name: create dependencies directories in chroot -- cgit v1.2.3