proftpd: Add options to override configs
This commit is contained in:
parent
28276b5d6f
commit
7c4a169fb8
|
@ -18,6 +18,7 @@ The **patch** part changes is incremented if multiple releases happen the same m
|
||||||
* webapps/nextcloud: Add compatibility with apache2, and apache2 mod_php.
|
* webapps/nextcloud: Add compatibility with apache2, and apache2 mod_php.
|
||||||
* inspect-domains: Add role
|
* inspect-domains: Add role
|
||||||
* memcached: NRPE check for multi-instance setup
|
* memcached: NRPE check for multi-instance setup
|
||||||
|
* proftpd: Add options to override configs
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|
||||||
|
|
|
@ -3,12 +3,15 @@ proftpd_hostname: "{{ ansible_hostname }}"
|
||||||
proftpd_fqdn: "{{ ansible_fqdn }}"
|
proftpd_fqdn: "{{ ansible_fqdn }}"
|
||||||
proftpd_default_address: []
|
proftpd_default_address: []
|
||||||
proftpd_ftp_enable: True
|
proftpd_ftp_enable: True
|
||||||
|
proftpd_ftp_override: False
|
||||||
proftpd_port: 21
|
proftpd_port: 21
|
||||||
proftpd_ftps_enable: False
|
proftpd_ftps_enable: False
|
||||||
|
proftpd_ftps_override: False
|
||||||
proftpd_ftps_port: 990
|
proftpd_ftps_port: 990
|
||||||
proftpd_ftps_cert: "/etc/ssl/certs/ssl-cert-snakeoil.pem"
|
proftpd_ftps_cert: "/etc/ssl/certs/ssl-cert-snakeoil.pem"
|
||||||
proftpd_ftps_key: "/etc/ssl/private/ssl-cert-snakeoil.key"
|
proftpd_ftps_key: "/etc/ssl/private/ssl-cert-snakeoil.key"
|
||||||
proftpd_sftp_enable: False
|
proftpd_sftp_enable: False
|
||||||
|
proftpd_sftp_override: False
|
||||||
proftpd_sftp_port: 22222
|
proftpd_sftp_port: 22222
|
||||||
proftpd_accounts: []
|
proftpd_accounts: []
|
||||||
proftpd_accounts_final: []
|
proftpd_accounts_final: []
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
src: evolinux.conf.j2
|
src: evolinux.conf.j2
|
||||||
dest: /etc/proftpd/conf.d/z-evolinux.conf
|
dest: /etc/proftpd/conf.d/z-evolinux.conf
|
||||||
mode: "0644"
|
mode: "0644"
|
||||||
force: no
|
force: "{{ proftpd_ftp_override }}"
|
||||||
notify: restart proftpd
|
notify: restart proftpd
|
||||||
when: proftpd_ftp_enable | bool
|
when: proftpd_ftp_enable | bool
|
||||||
tags:
|
tags:
|
||||||
|
@ -31,7 +31,7 @@
|
||||||
src: ftps.conf.j2
|
src: ftps.conf.j2
|
||||||
dest: /etc/proftpd/conf.d/ftps.conf
|
dest: /etc/proftpd/conf.d/ftps.conf
|
||||||
mode: "0644"
|
mode: "0644"
|
||||||
force: no
|
force: "{{ proftpd_ftps_override }}"
|
||||||
notify: restart proftpd
|
notify: restart proftpd
|
||||||
when: proftpd_ftps_enable | bool
|
when: proftpd_ftps_enable | bool
|
||||||
tags:
|
tags:
|
||||||
|
@ -42,7 +42,7 @@
|
||||||
src: sftp.conf.j2
|
src: sftp.conf.j2
|
||||||
dest: /etc/proftpd/conf.d/sftp.conf
|
dest: /etc/proftpd/conf.d/sftp.conf
|
||||||
mode: "0644"
|
mode: "0644"
|
||||||
force: no
|
force: "{{ proftpd_sftp_override }}"
|
||||||
notify: restart proftpd
|
notify: restart proftpd
|
||||||
when: proftpd_sftp_enable | bool
|
when: proftpd_sftp_enable | bool
|
||||||
tags:
|
tags:
|
||||||
|
|
Loading…
Reference in a new issue