diff options
Diffstat (limited to 'roles/dyndns/client/templates/ssh_config.j2')
-rw-r--r-- | roles/dyndns/client/templates/ssh_config.j2 | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/roles/dyndns/client/templates/ssh_config.j2 b/roles/dyndns/client/templates/ssh_config.j2 new file mode 100644 index 00000000..fd15bc49 --- /dev/null +++ b/roles/dyndns/client/templates/ssh_config.j2 @@ -0,0 +1,6 @@ +Host {{ hostvars[dyndns_server].host_name }}.{{ hostvars[dyndns_server].host_domain }} + Port {{ hostvars[dyndns_server].ansible_port }} + User {{ hostvars[dyndns_server].user | default('dyndns') }} + IdentityFile {{ dyndns_user.ssh_key_file }} + IdentitiesOnly yes + PasswordAuthentication no |