Skip to content

Commit

Permalink
Merge "Closes-bug: #1655191 - Added options to ansible.cfg to avoid h…
Browse files Browse the repository at this point in the history
…ost key checking"
  • Loading branch information
Zuul authored and opencontrail-ci-admin committed Feb 13, 2017
2 parents 73aa198 + 3ea725d commit 9482756
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions build/deb_server_manager_setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ function ansible_and_docker_configs()
{
echo "Configuring Ansible"
sed -i "/callback_plugin/c\callback_plugins = \/opt\/contrail\/server_manager\/ansible\/plugins" /etc/ansible/ansible.cfg
sed -i "/host_key_checking/c\host_key_checking = False" /etc/ansible/ansible.cfg
sed -i "/record_host_keys/c\record_host_keys = False" /etc/ansible/ansible.cfg
sed -i "/ssh_args/c\ssh_args = -o ControlMaster=auto -o ControlPersist=60s -o UserKnownHostsFile=/dev/null" /etc/ansible/ansible.cfg

ansible-galaxy install -r /opt/contrail/server_manager/ansible/playbooks/requirements.yml
echo "Starting docker registry"

Expand Down

0 comments on commit 9482756

Please sign in to comment.