summaryrefslogtreecommitdiff
path: root/std.yml
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2022-09-28 15:50:09 +0300
committerLars Wirzenius <liw@liw.fi>2022-12-10 09:17:56 +0200
commitde26eac7fbe6fe93f6e56df5c0352a8544def833 (patch)
tree1322d08ad066b302e4e8f8709dc22cb998e8a108 /std.yml
parent46048ef1064d81168f6cddbd9d01c97add25261f (diff)
downloadv-i-de26eac7fbe6fe93f6e56df5c0352a8544def833.tar.gz
fix: use same host key/cert filenames as debian-ansible
Sponsored-by: author
Diffstat (limited to 'std.yml')
-rw-r--r--std.yml8
1 files changed, 4 insertions, 4 deletions
diff --git a/std.yml b/std.yml
index f38c4a1..93928be 100644
--- a/std.yml
+++ b/std.yml
@@ -59,7 +59,7 @@
copy:
content: |
{{ host_key }}
- dest: /etc/ssh/ssh_host_ed25519_key
+ dest: /etc/ssh/ssh_host_key
mode: 0600
- name: "install host cert"
@@ -67,15 +67,15 @@
copy:
content: |
{{ host_cert }}
- dest: /etc/ssh/ssh_host_ed25519_key-cert.pub
+ dest: /etc/ssh/ssh_host_key-cert.pub
mode: 0644
- name: "configue sshd to use host cert"
when: host_cert is defined
copy:
content: |
- HostKey /etc/ssh/ssh_host_ed25519_key
- HostCertificate /etc/ssh/ssh_host_ed25519_key-cert.pub
+ HostKey /etc/ssh/ssh_host_key
+ HostCertificate /etc/ssh/ssh_host_key-cert.pub
dest: /etc/ssh/sshd_config.d/host_cert.conf
- name: "configure keyboard layout"