Add more diagnostic info to Ansible playbook execution

This information is useful when trying to understand what's
been passed to the playbook execution.

Change-Id: I386b184068dbcd2ec83ee0286c80ddfc6e59b459
This commit is contained in:
Jesse Pretorius 2016-10-13 17:48:10 +01:00
parent a385e45193
commit ddaca7c29a

View File

@ -63,6 +63,10 @@ function execute_ansible_playbook {
CMD_TO_EXECUTE="ansible-playbook ${TEST_PLAYBOOK} $@ ${ANSIBLE_CLI_PARAMETERS}"
echo "Executing: ${CMD_TO_EXECUTE}"
echo "With:"
echo " ANSIBLE_INVENTORY: ${ANSIBLE_INVENTORY}"
echo " ANSIBLE_LOG_PATH: ${ANSIBLE_LOG_PATH}"
${CMD_TO_EXECUTE}
}