fix: wrong variable name for ServerName directive in template
This commit is contained in:
@@ -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