Enable ssh opts by in config, set 100 connection retries (#1662)
Also update to ansible 2.3.2
This commit is contained in:
parent
f2ae16e71d
commit
8d766a2ca9
3 changed files with 4 additions and 2 deletions
|
@ -1,6 +1,7 @@
|
||||||
[ssh_connection]
|
[ssh_connection]
|
||||||
pipelining=True
|
pipelining=True
|
||||||
#ssh_args = -F ./ssh-bastion.conf -o ControlMaster=auto -o ControlPersist=30m
|
ssh_args = -o ControlMaster=auto -o ControlPersist=30m -o ConnectionAttempts=100
|
||||||
|
#ssh_args = -F ./ssh-bastion.conf -o ControlMaster=auto -o ControlPersist=30m -o ConnectionAttempts=100
|
||||||
#control_path = ~/.ssh/ansible-%%r@%%h:%%p
|
#control_path = ~/.ssh/ansible-%%r@%%h:%%p
|
||||||
[defaults]
|
[defaults]
|
||||||
host_key_checking=False
|
host_key_checking=False
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
pbr>=1.6
|
pbr>=1.6
|
||||||
ansible>=2.3.0
|
ansible>=2.3.2
|
||||||
netaddr
|
netaddr
|
||||||
jinja2>=2.9.6
|
jinja2>=2.9.6
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
[ssh_connection]
|
[ssh_connection]
|
||||||
pipelining=True
|
pipelining=True
|
||||||
|
ssh_args = -o ControlMaster=auto -o ControlPersist=30m -o ConnectionAttempts=100
|
||||||
[defaults]
|
[defaults]
|
||||||
forks = 20
|
forks = 20
|
||||||
host_key_checking=False
|
host_key_checking=False
|
||||||
|
|
Loading…
Reference in a new issue