We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 180e35c commit 9bed3f1Copy full SHA for 9bed3f1
defaults/main.yml
@@ -3,6 +3,7 @@
3
# zabbix role specific
4
5
zabbix_url: zabbix.example.com
6
+zabbix_url_aliases: []
7
zabbix_version: 2.4
8
zabbix_timezone: Europe/Amsterdam
9
zabbix_repo: True
templates/apache_vhost.conf.j2
@@ -1,5 +1,8 @@
1
<VirtualHost *:80>
2
ServerName {{ zabbix_url }}
+ {% for alias in zabbix_url_aliases %}
+ ServerAlias {{ alias }}
+ {% endfor %}
## Vhost docroot
DocumentRoot "/usr/share/zabbix"
0 commit comments