Skip to content

Commit

Permalink
A little different for Alpine.
Browse files Browse the repository at this point in the history
  • Loading branch information
robertdebock committed Feb 5, 2021
1 parent 0b05302 commit 73cc7c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vars/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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']) }}"
Expand Down

0 comments on commit 73cc7c0

Please sign in to comment.