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
d361806a48
roles/service: new apt multipackage ansible style
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
Zolfa
0a38ff2aac
roles/ca: new apt multipackage ansible style
5 years ago
Andrea Cimbalo
e0f1d25b48
add role mailman3
6 years ago
Andrea Cimbalo
1a647f799b
role reverse_proxy: notify reload on all changes
6 years ago
Andrea Cimbalo
b9de7c75fe
role nginx: add options for proxy directive and additional root location configuration
6 years ago
Andrea Cimbalo
414d5496bd
fix parent template in roles/dokuwiki/templates/dokuwiki.conf
6 years ago
Edoardo Putti
c2aeb32e2c
remove motd as it is not installed by default
6 years ago
Edoardo Putti
7c32a6a7be
use filter when finding reverse proxy destionation
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
Andrea Cimbalo
b0c90d61ba
Add fullchain template
6 years ago
Edoardo Putti
44d21ea747
[fix] typo in cert_request module
6 years ago
Edoardo Putti
e5e615a7c8
integrate debug in ca-dialog
move debug messages from roles in task ca-dialog
6 years ago
Edoardo Putti
bd1aa8edd6
set default values for paths to openvpn files
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
a473a9edd9
[fix] update synapse role default
this role variables will be used during templating
for nginx reverse proxy
6 years ago
Edoardo Putti
fcbed30139
add systemd unit to login api server
6 years ago
Edoardo Putti
4e6905a3d1
change from GARR's mirror to debian default
6 years ago
Edoardo Putti
5d2fd43425
simplify nginx role templating
- remove the handling of which template to use
- do not access parent role
- update riot-web nginx configuration
- update icinga role to use new nginx templating
- update synapse nginx configuration
- update matrix role to use new nginx templates
- update dokuwiki to use new nginx template
- extend nginx template in dokuwiki
- update login role to new nginx templates
- add protocol for default option
- add extra block to nginx template
- update riote-web version
- fix template extension for riot web nginx definition
- update login template for nginx endpoint
7 years ago
Edoardo Putti
f4d861dd58
setup ca with fullchain for openvpn
6 years ago
Edoardo Putti
f0cf5d9be9
fix certbot role
- handle errors when starting/stopping webserver
- fix typo
7 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
6a49fde5bd
format nicely debug messages in openvpn role
7 years ago
Edoardo Putti
2168f7bd8c
use ca_dialog in openvpn role
7 years ago
Edoardo Putti
6fc0a0543b
replace ssh certificate check with module
7 years ago
Edoardo Putti
12b8e1aa27
move certbot from cron to systemd service and timer
7 years ago
Edoardo Putti
f5a3d32c18
format correctly defaults yaml file for nginx role
7 years ago
Edoardo Putti
7520cea3f4
format nicely certbot command
7 years ago
Edoardo Putti
73cbf6a1a8
ubnind port 80 during certificate request
7 years ago
Edoardo Putti
970ffeb2d8
minor formatting for yaml in certbot role
7 years ago
Edoardo Putti
83a49ba79c
take public ip instead of hardcoded
7 years ago
Edoardo Putti
f68e03eb31
add last ssh logins to motd
7 years ago
Andrea Cimbalo
3245be02ea
add hostObject from libpam-ldap
7 years ago
Edoardo Putti
56cd4eaf1f
update to latest release of ca_manager
7 years ago
Edoardo Putti
554410590b
fix typo as authorities_request is not defined
7 years ago
Andrea Cimbalo
de2b758a71
add log file for login service
7 years ago
Andrea Cimbalo
14ddc33402
add new ssh and ssl CA
7 years ago
Edoardo Putti
35f0f8307c
version bump for ca_manager as we solved the root ca problem
7 years ago
Edoardo Putti
0c8c2bb8e1
change the path for shell and server
7 years ago
Edoardo Putti
ce001b6bef
draft for installing ca_manager from pip
7 years ago
Andrea Cimbalo
f0684ce37b
add slpad pw-sha2 module
7 years ago
Andrea Cimbalo
9bd46bdd36
fix media folder permission
7 years ago
Andrea Cimbalo
b05aa6030d
small fix in matrix-synapse role
7 years ago
Andrea Cimbalo
d75b379e8a
add matrix
7 years ago
Andrea Cimbalo
5281fd73de
some example usage for nginx role
7 years ago
Andrea Cimbalo
bbb769e296
add kodi repository and trakt server
7 years ago
Andrea Cimbalo
e1a4794ec7
use nginx include directive to enable support for multiple location from different role on the same domain
7 years ago