1
0
Fork 0
mirror of https://github.com/dawidd6/action-ansible-playbook.git synced 2025-04-21 23:33:35 +00:00
This commit is contained in:
Dawid Dziurla 2020-04-07 00:32:39 +02:00 committed by GitHub
parent 59f1e1bd4f
commit 21dcba242b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -31,9 +31,11 @@ if test -n "$directory"; then
cd "$directory"
fi
echo "options before: $options"
if test -n "$options"; then
options="$(echo "$options" | tr '\n' ' ' | xargs)"
fi
echo "options after: $options"
if test -n "$inventory"; then
echo "==> Setting inventory"