index 1edf286..ff4c2cb 100644 --- a/porch/api/app/bizlogic.py +++ b/porch/api/app/bizlogic.py @@ -192,7 +192,8 @@ def play_app(name, data): # Let's play. s_prikey = PRIKEY_DIR + '/prikey' - s_ssh_options = "--ssh-common-args='-o UserKnownHostsFile=/dev/null'" + s_ssh_options = "--ssh-common-args='-o UserKnownHostsFile=/dev/null \ + -o StrictHostKeyChecking=no'" s_cmd= "ansible-playbook {0} -i {1}/hosts --private-key={2} {1}/site.yml"\ .format(s_ssh_options, s_play_dir, s_prikey) log.debug(s_cmd)