Skip to content

Commit 1036e4f

Browse files
authored
Merge pull request #297 from stackhpc/fix/skelton-ssh-persist
Fix ssh ControlPath in skeleton
2 parents b13b98d + d78a913 commit 1036e4f

File tree

1 file changed

+1
-1
lines changed
  • environments/skeleton/{{cookiecutter.environment}}

1 file changed

+1
-1
lines changed

environments/skeleton/{{cookiecutter.environment}}/ansible.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ roles_path = ../../ansible/roles
1111
filter_plugins = ../../ansible/filter_plugins
1212

1313
[ssh_connection]
14-
ssh_args = -o ControlMaster=auto -o ControlPersist=240s -o PreferredAuthentications=publickey -o UserKnownHostsFile=/dev/null
14+
ssh_args = -o ControlMaster=auto ControlPath=~/.ssh/%r@%h-%p -o ControlPersist=240s -o PreferredAuthentications=publickey -o UserKnownHostsFile=/dev/null
1515
pipelining = True

0 commit comments

Comments
 (0)