Merge "Fix unexpected message without globals.d"
This commit is contained in:
commit
6839cf5315
@ -453,7 +453,7 @@ EOF
|
||||
esac
|
||||
|
||||
GLOBALS_DIR="${CONFIG_DIR}/globals.d"
|
||||
EXTRA_GLOBALS=$(find ${GLOBALS_DIR} -maxdepth 1 -type f -name '*.yml' -printf ' -e @%p')
|
||||
EXTRA_GLOBALS=$(find ${GLOBALS_DIR} -maxdepth 1 -type f -name '*.yml' -printf ' -e @%p' 2>/dev/null)
|
||||
CONFIG_OPTS="-e @${CONFIG_DIR}/globals.yml ${EXTRA_GLOBALS} -e @${PASSWORDS_FILE} -e CONFIG_DIR=${CONFIG_DIR}"
|
||||
CMD="ansible-playbook -i $INVENTORY $CONFIG_OPTS $EXTRA_OPTS $PLAYBOOK $VERBOSITY"
|
||||
process_cmd
|
||||
|
Loading…
x
Reference in New Issue
Block a user