diff options
author | Lars Wirzenius <liw@liw.fi> | 2022-08-26 08:43:33 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2022-08-26 08:43:33 +0300 |
commit | f23d714f1943d812acfe6d651f334d1ddc375264 (patch) | |
tree | 95c8a4ac904064ea7dc26d054254ac787937347d /ansible/python-mess.yml | |
parent | 3acdfcad00a3730a95581fe60c4f614cba1cee25 (diff) | |
download | ansibleness-f23d714f1943d812acfe6d651f334d1ddc375264.tar.gz |
python-mess: install SSH host key/cert
This is a test of the sshd role from debian-ansible.
Sponsored-by: author
Diffstat (limited to 'ansible/python-mess.yml')
-rw-r--r-- | ansible/python-mess.yml | 7 |
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') }}" |