Browse Source

Enable ssh opts by in config, set 100 connection retries (#1662)

Also update to ansible 2.3.2
pull/1659/head
Matthew Mosesohn 7 years ago
committed by GitHub
parent
commit
8d766a2ca9
3 changed files with 4 additions and 2 deletions
  1. 3
      ansible.cfg
  2. 2
      requirements.txt
  3. 1
      tests/ansible.cfg

3
ansible.cfg

@ -1,6 +1,7 @@
[ssh_connection]
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
[defaults]
host_key_checking=False

2
requirements.txt

@ -1,4 +1,4 @@
pbr>=1.6
ansible>=2.3.0
ansible>=2.3.2
netaddr
jinja2>=2.9.6

1
tests/ansible.cfg

@ -1,5 +1,6 @@
[ssh_connection]
pipelining=True
ssh_args = -o ControlMaster=auto -o ControlPersist=30m -o ConnectionAttempts=100
[defaults]
forks = 20
host_key_checking=False

Loading…
Cancel
Save