Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
commonconnect
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Ansible
Roles
commonconnect
Commits
8f48c0c0
Commit
8f48c0c0
authored
8 years ago
by
jurgenhaas
Browse files
Options
Downloads
Patches
Plain Diff
Improve ssh config definition
parent
f9065c9f
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
defaults/main.yml
+1
-0
1 addition, 0 deletions
defaults/main.yml
templates/ssh_config
+5
-3
5 additions, 3 deletions
templates/ssh_config
with
6 additions
and
3 deletions
defaults/main.yml
0 → 100644
+
1
−
0
View file @
8f48c0c0
tunnel_user_name
:
'
systunnel'
This diff is collapsed.
Click to expand it.
templates/ssh_config
+
5
−
3
View file @
8f48c0c0
# See all parameters at http://www.openbsd.org/cgi-bin/man.cgi?query=ssh_config
# See all parameters at http://www.openbsd.org/cgi-bin/man.cgi?query=ssh_config
StrictHostKeyChecking
no
StrictHostKeyChecking
no
ForwardAgent
yes
ForwardAgent
no
{%
for
host in commonauth_extras|default([]) %
}
{%
for
host in commonauth_extras|default([]) %
}
{%
if
host.
certfile
is defined %
}
{%
if
host.
ssh
is defined %
}
{%
for
name in host.names %
}
{%
for
name in host.names %
}
Host
{{
name
}}
Host
{{
name
}}
IdentityFile
~/.ssh/
{{
host.certfile
}}
{%
for
key, value in host.ssh.iteritems() %
}
{{
key
}}
{{
value
}}
{%
endfor
%
}
{%
endfor
%
}
{%
endfor
%
}
{%
endif
%
}
{%
endif
%
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment