From 5b669bb339cf1bbbd3bba9b89cc1d49ee51580fd Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Sun, 23 Dec 2018 22:20:07 +0100 Subject: [PATCH] move call to ansible lint to /ansible/lint.sh --- .travis.yml | 4 +--- ansible/lint.sh | 3 +++ 2 files changed, 4 insertions(+), 3 deletions(-) create mode 100755 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 -- 1.7.10.4