Compare commits
2 Commits
a387326cca
...
08df87b0bf
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
08df87b0bf
|
||
|
|
d52f7e02a8
|
@@ -60,7 +60,7 @@
|
|||||||
src: proftpd/conf.d/vhost@vps1.conf.j2
|
src: proftpd/conf.d/vhost@vps1.conf.j2
|
||||||
validate: proftpd --configtest
|
validate: proftpd --configtest
|
||||||
vars:
|
vars:
|
||||||
ftp_server_name: "{{ config.proftpd.name }}'s Archive'"
|
ftp_server_name: "{{ config.proftpd.name.uppercase() }}'s Archive'"
|
||||||
# @TODO finish constructing below block task
|
# @TODO finish constructing below block task
|
||||||
# - name: Add virtual users to ProFTPd FTPS virtual host
|
# - name: Add virtual users to ProFTPd FTPS virtual host
|
||||||
# block:
|
# block:
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<VirtualHost 0.0.0.0>
|
<VirtualHost 0.0.0.0>
|
||||||
ServerName {{ ftp_server_name }}
|
ServerName {{ ftp_server_name }}
|
||||||
ServerIdent on "You have arrived at {{ server_name }}!"
|
ServerIdent on "You have arrived at {{ ftp_server_name }}!"
|
||||||
ServerAlias {{ hostvars[inventory_hostname].fqdn }}
|
ServerAlias {{ hostvars[inventory_hostname].fqdn }}
|
||||||
ServerAlias ftp.{{ hostvars[inventory_hostname].fqdn }}
|
ServerAlias ftp.{{ hostvars[inventory_hostname].fqdn }}
|
||||||
ServerAlias {{ hostvars[inventory_hostname].fqdn.split('.')[0] }}
|
ServerAlias {{ hostvars[inventory_hostname].fqdn.split('.')[0] }}
|
||||||
|
|||||||
Reference in New Issue
Block a user