Here is my Ansible.cfg file, I did set the command time out but then only the maximmum ssh I get is 7 ssh connections only . Im wondering if this is something to deal with forks. please help about this issue .
# ===============================================
# nearly all parameters can be overridden in ansible-playbook
# or with command line flags. ansible will read ANSIBLE_CONFIG,
# ansible.cfg in the current working directory, .ansible.cfg in
# the home directory or /etc/ansible/ansible.cfg, whichever it
# finds first
[defaults]
# some basic default values...
inventory = ./hosts
# set 7 forks for successful first 7
forks = 30
interpreter_python = /usr/bin/python3
# uncomment this to disable SSH key host checking
host_key_checking = False
# retry files
# When a playbook fails a .retry file can be created that will be placed in ~/
# You can enable this feature by setting retry_files_enabled to True
# and you can change the location of the files by setting retry_files_save_path
deprecation_warnings = False
retry_files_enabled = False
[persistent_connection]
command_timeout = 1200
#connect_retry_timeout = 300