From 45a92ea49c5ff6e7883fa766cdc0b99c50259828 Mon Sep 17 00:00:00 2001 From: Maksim Malchuk Date: Wed, 12 Apr 2023 18:26:53 +0300 Subject: [PATCH] Fix ansible-lint Change-Id: I3c8658d0cd3e0ec9c2b82f9ca5dfe7415af79cde Signed-off-by: Maksim Malchuk --- tools/ansible-lint.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/ansible-lint.sh b/tools/ansible-lint.sh index 681231abf..d36a7f210 100644 --- a/tools/ansible-lint.sh +++ b/tools/ansible-lint.sh @@ -18,6 +18,7 @@ ln -s "$(realpath $SOURCE)" "$DEST/ansible_collections/openstack/cloud" export ANSIBLE_COLLECTIONS_PATHS="$(realpath $DEST)" export ANSIBLE_LIBRARY="$(dirname $0)/../playbooks/library" +export ANSIBLE_ROLES_PATH="$(dirname $0)/../playbooks/roles" find playbooks -maxdepth 1 -type f -regex '.*.ya?ml' -print0 | \ xargs -t -n1 -0 ansible-lint -v --nocolor