diff --git a/ansible.cfg b/ansible.cfg index aecb198a007728794c1dbe49364595f855c9bcaf..20534b1f252ed596dc956e948c361b0dd67b9c36 100644 --- a/ansible.cfg +++ b/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 diff --git a/requirements.txt b/requirements.txt index 31181e7ac9b801f4454f8959af3111f7fecb4b9d..889f36ef53d7b6440b02b858796162c5c16bd5ed 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ pbr>=1.6 -ansible>=2.3.0 +ansible>=2.3.2 netaddr jinja2>=2.9.6 diff --git a/tests/ansible.cfg b/tests/ansible.cfg index bf198f62e19a0d332c1a2e06cbfa3b4ba93d516d..a7d2e0183afa088a2186739800327af1abe7a171 100644 --- a/tests/ansible.cfg +++ b/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