From: Christian Pointner Date: Sun, 23 Dec 2018 21:20:07 +0000 (+0100) Subject: move call to ansible lint to /ansible/lint.sh X-Git-Url: https://git.realraum.at/?a=commitdiff_plain;h=5b669bb339cf1bbbd3bba9b89cc1d49ee51580fd;p=noc.git move call to ansible lint to /ansible/lint.sh --- diff --git a/.travis.yml b/.travis.yml index 6a90aab..5b34819 100644 --- a/.travis.yml +++ b/.travis.yml @@ -18,9 +18,7 @@ install: - ansible-lint --version script: - - pushd ./ansible - - ansible-lint _lint_roles.yml - - popd + - ansible/lint.sh - make -C doc deploy: diff --git a/ansible/lint.sh b/ansible/lint.sh new file mode 100755 index 0000000..17326af --- /dev/null +++ b/ansible/lint.sh @@ -0,0 +1,3 @@ +#!/bin/bash +cd "${BASH_SOURCE%/*}/" +exec ansible-lint _lint_roles.yml