diff --git a/config.cfg b/config.cfg index 7d3027e..6446398 100644 --- a/config.cfg +++ b/config.cfg @@ -146,7 +146,7 @@ congrats: ca_key_pass: | "# The CA key password is {{ CA_password|default(omit) }} #" ssh_access: | - "# Shell access: ssh -F configs/{{ ansible_ssh_host|default(omit) }}/ssh_config algo #" + "# Shell access: ssh -F configs/{{ ansible_ssh_host|default(omit) }}/ssh_config {{ algo_server_name }} #" SSH_keys: comment: algo@ssh diff --git a/server.yml b/server.yml index fb472f0..4036cf3 100644 --- a/server.yml +++ b/server.yml @@ -28,7 +28,7 @@ dest: "configs/{{ IP_subject_alt_name }}/ssh_config" mode: "0600" content: | - Host {{ IP_subject_alt_name }} algo + Host {{ IP_subject_alt_name }} {{ algo_server_name }} HostName {{ IP_subject_alt_name }} User {{ ansible_ssh_user }} Port {{ ansible_ssh_port }}