From 73cc7c0db8e917f537f864e98003102d72ea1628 Mon Sep 17 00:00:00 2001 From: Robert de Bock Date: Fri, 5 Feb 2021 14:48:32 +0100 Subject: [PATCH] A little different for Alpine. --- vars/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vars/main.yml b/vars/main.yml index 52136a8..41feace 100644 --- a/vars/main.yml +++ b/vars/main.yml @@ -75,7 +75,7 @@ httpd_ports_conf: "{{ _httpd_ports_conf[ansible_os_family] }}" # This variable is used in `default_vhost.conf`. _httpd_data_directory: default: /var/www/html - Alpine: /var/www/{{ httpd_servername | default(ansible_fqdn) }} + Alpine: /var/www/{{ httpd_servername | default('localhost') }}/htdocs Suse: /srv/www/htdocs httpd_data_directory: "{{ _httpd_data_directory[ansible_os_family] | default(_httpd_data_directory['default']) }}"