Description
Feature Request
I would like in section [galaxy] a var to defining waiting between 2 roles install/import
didn't found this in documentation
Use Case
In somes companies, firewalls are configured to cut connexions when lot of them are made in little time resulting in
Connection timed out during banner exchange
It Happen always on sames roles of the requirements.yml,
Until then i had to split the requirements.yml in multiples files containing each only 10 roles to install.
Then i execute one by one by hand waiting 5s between each file to avoid this kind of timeout
Proposed Solution
Adding an import_delay
var in ansible.cfg section galaxy, making ansible-galaxy install waiting this time between connexions to importing role
maybe an import_concurrent
too like this depending of our company rules we can tweak like
[galaxy]
import_concurrent = 5
import_delay = 5
making ansible-galaxy import 5 roles, then wait 5s, then 5 roles again and wait 5s and etc... (for example)
Alternatives
I've searched for ssh_config alternatives (ServerAliveInterval, ControlMaster, ConnectionAttempts) but none worked,
tried fork=1 or serial=1 in ansible.cfg but not worked neither