diff --git a/ansible/ci/ansible-target.sh b/ansible/ci/ansible-target.sh index 7174fef..ebeab82 100755 --- a/ansible/ci/ansible-target.sh +++ b/ansible/ci/ansible-target.sh @@ -91,6 +91,8 @@ if [ "$full" -eq 0 ] && [ -n "$changed" ]; then product=${product%%/*} if grep -q "role: ${machine}/${product}" "$playbook" && grep -q "tags: \[${product}\]" "$playbook"; then add_tag "$product" + elif [ ! -e "$file" ] && [ ! -d "ansible/roles/${machine}/${product}" ]; then + : else reject_unknown "$file" fi