feature: added a configuration section for ProFTPd to fill in template file variables
This commit is contained in:
@@ -214,4 +214,22 @@ config:
|
||||
git:
|
||||
sys:
|
||||
editor: nvim
|
||||
proftpd:
|
||||
name: "{{ hostvars[inventory_hostname].fqdn.split('.')[0] }}"
|
||||
vusers:
|
||||
# webmaster:
|
||||
# username: webmaster
|
||||
# chroot: "/srv/www/{{ fqdn }}"
|
||||
# chown: "caddy:caddy"
|
||||
# # @TODO create vaulted password for this ProFTPd virtual user
|
||||
# password: ~
|
||||
smuggler:
|
||||
username: smuggler
|
||||
chroot: /srv/ftp/smuggler
|
||||
chown: "{{ hostvars[inventory_hostname].users.ftp.username }}:{{ hostvars[inventory_hostname].users.ftp.group | default(hostvars[inventory_hostname].users.ftp.username) }}"
|
||||
# @TODO create vaulted password for this ProFTPd virtual user
|
||||
password: ~
|
||||
tls_paths:
|
||||
cert: /etc/proftpd/certs/cert.pem
|
||||
privkey: /etc/proftpd/certs/private-key.pem
|
||||
|
||||
|
||||
Reference in New Issue
Block a user