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:
parent
a385e45193
commit
ddaca7c29a
@ -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}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user