Zolfa
1ca9f816d8
roles/ssh_server: multi key and OpenSSH v8 support
Add support for OpenSSH v8 (ouput of `ssh-keygen` changed slightly) in
module `ssh_cert` and use a better implementation for multiple user CA.
Now we are reading user_ca from `group_vars/all.yaml`.
`user_ca_keys` should be list of each allowed User CA on one host (in
this way is easier to rotate CAs without reissuing keys to each user at
the same time).
The production CA must be the first one in the list. Host certificate
will be checked only against the first CA and updated if their host key
was issued from another CA in the list.
For this reason now we are using a template to create
`/etc/ssh/user_ca.pub` on the target, to preserve the key order.
`group_vars/all.yaml.example` has been updated to reflect the new usage.
5 years ago
Zolfa
2720707479
roles/ssh_server: missed step in ssh_lxc migration
The role was still referencing older `ansible_docker_extra_args`
variable.
Replaced with `ansible_ssh_lxc_name`.
5 years ago
Edoardo Putti
c2aeb32e2c
remove motd as it is not installed by default
6 years ago
Edoardo Putti
15aa44e5b6
add login message after ssh login
6 years ago
Edoardo Putti
727188b058
add defaults for ssh server role
6 years ago
Edoardo Putti
44d21ea747
[fix] typo in cert_request module
6 years ago
Edoardo Putti
a0772bb643
use module cert_request where possible
this module read a file containing a public key and prepares
the sign_request for a ssl_host or ssh_host request
6 years ago
Edoardo Putti
57aaf9c123
handle creation of ssh certificate when none
7 years ago
Edoardo Putti
858402d8a4
update openvpn role, ssh_server role
7 years ago
Edoardo Putti
6fc0a0543b
replace ssh certificate check with module
7 years ago
Edoardo Putti
f68e03eb31
add last ssh logins to motd
7 years ago
Edoardo Putti
554410590b
fix typo as authorities_request is not defined
7 years ago
Andrea Cimbalo
14ddc33402
add new ssh and ssl CA
7 years ago
Andrea Cimbalo
fa1d96901d
check ssl and ssh certificate validity
7 years ago
Andrea Cimbalo
df0e0fdf15
notify ssh restart on pub ca change
7 years ago
Andrea Cimbalo
91c91f2360
Remove ssh root login with password
7 years ago
Edoardo Putti
6331cbb943
use new filter everywhere
7 years ago
Andrea Cimbalo
efef2f7f1a
fix lvm wipe_signatures_when_zeroing_new_lvs
8 years ago
Andrea Cimbalo
a9843f63f5
add sftp server to ssh_server (fix openwrt)
8 years ago
Andrea Cimbalo
b14299e2f1
move service task and handler to a separate role (see ansible issue 23389, 20603, 15902)
8 years ago
Andrea Cimbalo
16db54b0e2
move service task and handler to a separate role (see ansible issue 23389, 20603, 15902)
Resolves #13
8 years ago
Andrea Cimbalo
352a22f500
pass connection as vars as requested since ansible 2.2
8 years ago
Andrea Cimbalo
d2d0db41c7
fix hostname in ssh_server
8 years ago
Andrea Cimbalo
0606140dbb
ssh_server can now run on openwrt
8 years ago
Andrea Cimbalo
49ac0a9b6e
fix ssh cert hostname
8 years ago
Andrea Cimbalo
1d0e62b2f3
move vm ssh-server to a separate role and use lxc_ssh connection plugin to execute it on the lxc_guest
8 years ago