mirror of
https://github.com/trailofbits/algo.git
synced 2025-08-02 19:03:04 +02:00
Use user-defined hostname for SSH hostname
This commit is contained in:
parent
3720c5eb1f
commit
2a668f2b0e
2 changed files with 2 additions and 2 deletions
|
@ -146,7 +146,7 @@ congrats:
|
||||||
ca_key_pass: |
|
ca_key_pass: |
|
||||||
"# The CA key password is {{ CA_password|default(omit) }} #"
|
"# The CA key password is {{ CA_password|default(omit) }} #"
|
||||||
ssh_access: |
|
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:
|
SSH_keys:
|
||||||
comment: algo@ssh
|
comment: algo@ssh
|
||||||
|
|
|
@ -28,7 +28,7 @@
|
||||||
dest: "configs/{{ IP_subject_alt_name }}/ssh_config"
|
dest: "configs/{{ IP_subject_alt_name }}/ssh_config"
|
||||||
mode: "0600"
|
mode: "0600"
|
||||||
content: |
|
content: |
|
||||||
Host {{ IP_subject_alt_name }} algo
|
Host {{ IP_subject_alt_name }} {{ algo_server_name }}
|
||||||
HostName {{ IP_subject_alt_name }}
|
HostName {{ IP_subject_alt_name }}
|
||||||
User {{ ansible_ssh_user }}
|
User {{ ansible_ssh_user }}
|
||||||
Port {{ ansible_ssh_port }}
|
Port {{ ansible_ssh_port }}
|
||||||
|
|
Loading…
Add table
Reference in a new issue