summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2022-08-26 08:43:33 +0300
committerLars Wirzenius <liw@liw.fi>2022-08-26 08:43:33 +0300
commitf23d714f1943d812acfe6d651f334d1ddc375264 (patch)
tree95c8a4ac904064ea7dc26d054254ac787937347d
parent3acdfcad00a3730a95581fe60c4f614cba1cee25 (diff)
downloadansibleness-f23d714f1943d812acfe6d651f334d1ddc375264.tar.gz
python-mess: install SSH host key/cert
This is a test of the sshd role from debian-ansible. Sponsored-by: author
-rw-r--r--ansible/python-mess.yml7
1 files changed, 7 insertions, 0 deletions
diff --git a/ansible/python-mess.yml b/ansible/python-mess.yml
index 80d216b..d8b0c8f 100644
--- a/ansible/python-mess.yml
+++ b/ansible/python-mess.yml
@@ -4,6 +4,8 @@
roles:
- role: sane_debian_system
tags: [sane]
+ - role: sshd
+ tags: [sshd]
- role: comfortable-debian-system
tags: [comfy]
- role: unix_users
@@ -34,3 +36,8 @@
- username: liw
comment: Lars Wirzenius
sudo: yes
+
+ sshd_version: 1
+ sshd_host_key: "{{ lookup('pipe', 'sshca host private-key python-mess') }}"
+ sshd_host_cert: "{{ lookup('pipe', 'sshca host certify liw.fi/ca/host/v4 python-mess') }}"
+ sshd_user_ca_pub: "{{ lookup('pipe', 'sshca ca public-key liw.fi/ca/user/v3') }}"