tripleo-quickstart/ansible_ssh_env.sh
Wesley Hayutin 540eae7b55 use environmental variables for ansible ssh configuration
quickstart does not set the ansible ssh configuration by default.
This change sets ANSIBLE_SSH_ARGS if it's not already set.

Change-Id: I61d8499fe16eb102a285972d347cef5acdbc71e8
2016-06-15 14:37:32 +00:00

6 lines
138 B
Bash

: ${OPT_WORKDIR:=$HOME/.quickstart}
#ssh config
: ${SSH_CONFIG=$OPT_WORKDIR/ssh.config.ansible}
: ${ANSIBLE_SSH_ARGS="-F ${SSH_CONFIG}"}