openstack-ansible/playbooks/ansible.cfg
Jesse Pretorius 7b10c64007 Change ansible forks used
This patch changes the number of forks used by ansible when
using any of the convenience (and thus gate check) scripts
to the number of processors available on the deployment
system.

The previous values used were found to cause ssh connection
errors and it was found that reducing the number improved
the chances of success.

This patch also removes the forks setting from ansible.conf
so that ansible will use the default value when run in any
other way. This leaves the decision of setting the number
of forks to the deployer, as it should be.

Change-Id: I31ad7353344f7994063127ecfce8f4733769234c
Closes-Bug: #1479812
2015-07-30 15:11:14 +01:00

19 lines
387 B
INI

[defaults]
# Additional plugins
lookup_plugins = plugins/lookups
filter_plugins = plugins/filters
gathering = smart
hostfile = inventory
host_key_checking = False
# Set color options
nocolor = 0
# SSH timeout
timeout = 120
[ssh_connection]
pipelining = True
ssh_args = -o ControlMaster=auto -o ControlPersist=60s -o TCPKeepAlive=yes -o ServerAliveInterval=5 -o ServerAliveCountMax=3