0253c356d9
There was an error and the last if block was not being closed. This patch fixes that error. Change-Id: I0d3bdb4ed4f1bc40c52289965364043c54e1f9fc
18 lines
510 B
Bash
18 lines
510 B
Bash
#!/usr/bin/env bash
|
|
|
|
# Adding tripleo ansible-runner specific scripts here
|
|
# Expand the variables
|
|
eval "echo \"$(cat /runner/env/settings)\"" > /runner/env/settings
|
|
|
|
if [ -n "$RUNNER_INVENTORY" ]; then
|
|
echo "---" > /runner/inventory/inventory.yaml
|
|
echo "$RUNNER_INVENTORY" >> /runner/inventory/inventory.yaml
|
|
fi
|
|
|
|
if [ -n "$RUNNER_PLAYBOOK" ]; then
|
|
echo "---" > /runner/project/playbook.yaml
|
|
echo "$RUNNER_PLAYBOOK" >> /runner/project/playbook.yaml
|
|
fi
|
|
|
|
# Contents from ansible-runner entrypoint
|