File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 99 $working_dir = ' /tmp'
1010 $host_key_checking = false
1111 $roles_path = [' /etc/ansible/roles' , ' /usr/share/ansible/roles' ]
12- $ssh_args = ' -o ProxyCommand=none -C -o ControlMaster=auto -o ControlPersist=60s'
12+ $ssh_args = ' -o ProxyCommand=none -C -o ControlMaster=auto -o ControlPersist=60s -o ServerAliveInterval=15 -o ServerAliveCountMax=3 '
1313 $install_runner = true
1414 $collections_paths = [' /etc/ansible/collections' , ' /usr/share/ansible/collections' ]
1515 case $facts [' os' ][' family' ] {
Original file line number Diff line number Diff line change 4343 'export FOREMAN_SSL_KEY="/etc/puppetlabs/puppet/ssl/private_keys/foo.example.com.pem"' ,
4444 'export FOREMAN_SSL_CERT="/etc/puppetlabs/puppet/ssl/certs/foo.example.com.pem"' ,
4545 'export FOREMAN_SSL_VERIFY="/etc/puppetlabs/puppet/ssl/certs/ca.pem"' ,
46- 'export ANSIBLE_SSH_ARGS="-o ProxyCommand=none -C -o ControlMaster=auto -o ControlPersist=60s"' ,
46+ 'export ANSIBLE_SSH_ARGS="-o ProxyCommand=none -C -o ControlMaster=auto -o ControlPersist=60s -o ServerAliveInterval=15 -o ServerAliveCountMax=3 "' ,
4747 ] )
4848 end
4949 end
9090 'export FOREMAN_SSL_KEY="/etc/puppetlabs/puppet/ssl/private_keys/foo.example.com.pem"' ,
9191 'export FOREMAN_SSL_CERT="/etc/puppetlabs/puppet/ssl/certs/foo.example.com.pem"' ,
9292 'export FOREMAN_SSL_VERIFY="/etc/puppetlabs/puppet/ssl/certs/ca.pem"' ,
93- 'export ANSIBLE_SSH_ARGS="-o ProxyCommand=none -C -o ControlMaster=auto -o ControlPersist=60s"' ,
93+ 'export ANSIBLE_SSH_ARGS="-o ProxyCommand=none -C -o ControlMaster=auto -o ControlPersist=60s -o ServerAliveInterval=15 -o ServerAliveCountMax=3 "' ,
9494 ] )
9595 end
9696 end
You can’t perform that action at this time.
0 commit comments