diff options
author | Romain Gonçalves <me@rgoncalves.se> | 2021-12-21 17:33:59 +0000 |
---|---|---|
committer | Romain Gonçalves <me@rgoncalves.se> | 2021-12-21 17:49:50 +0000 |
commit | 342a810ac8058117c867c583d15935c50e6255f3 (patch) | |
tree | 59f04b58d368002b3cd06f23761e39dc5b14597b | |
parent | 53f7dca9bb5b7ceb20fb96cbb19d00ad818491ef (diff) | |
download | rules-342a810ac8058117c867c583d15935c50e6255f3.tar.gz |
roles/cgit: Pass ansible-lint
-rw-r--r-- | roles/cgit/tasks/dependencies.yml | 6 |
1 files changed, 4 insertions, 2 deletions
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 |