Skip to content

Commit 04d02e3

Browse files
committed
Incorporate review by @drybjed, thanks!
1 parent 5f0bebb commit 04d02e3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

CHANGES.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ Changed
4242
~~~~~~~
4343

4444
- Change default virtual host server name from ``000-default`` to ``default.{{
45-
apache__domain }}`` to increase the changes that a valid certificate is
45+
apache__domain }}`` to increase the chances that a valid certificate is
4646
available for this virtual host (either wildcard or SAN) in order to avoid
4747
the warning of Apache that the certificate is not valid for the server name. [ypid_]
4848

defaults/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ apache__fqdn: '{{ ansible_local.core.fqdn
7474
apache__domain: '{{ ansible_local.core.domain
7575
if (ansible_local|d() and ansible_local.core|d() and
7676
ansible_local.core.domain|d())
77-
else ansible_domain }}'
77+
else (ansible_domain if ansible_domain else ansible_hostname) }}'
7878

7979
# ]]]
8080
# .. envvar:: apache__config_path [[[

0 commit comments

Comments
 (0)