Compare commits

...

2 Commits

Author SHA1 Message Date
Alex Tavarez
08df87b0bf fix: changed to more appropriate uppercasing of domain name 2025-11-12 19:07:12 -05:00
Alex Tavarez
d52f7e02a8 fix: wrong variable name for ServerName directive in template 2025-11-12 19:06:30 -05:00
2 changed files with 2 additions and 2 deletions

View File

@@ -60,7 +60,7 @@
src: proftpd/conf.d/vhost@vps1.conf.j2
validate: proftpd --configtest
vars:
ftp_server_name: "{{ config.proftpd.name }}'s Archive'"
ftp_server_name: "{{ config.proftpd.name.uppercase() }}'s Archive'"
# @TODO finish constructing below block task
# - name: Add virtual users to ProFTPd FTPS virtual host
# block:

View File

@@ -1,6 +1,6 @@
<VirtualHost 0.0.0.0>
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 ftp.{{ hostvars[inventory_hostname].fqdn }}
ServerAlias {{ hostvars[inventory_hostname].fqdn.split('.')[0] }}