File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ Changed
42
42
~~~~~~~
43
43
44
44
- 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
46
46
available for this virtual host (either wildcard or SAN) in order to avoid
47
47
the warning of Apache that the certificate is not valid for the server name. [ypid _]
48
48
Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ apache__fqdn: '{{ ansible_local.core.fqdn
74
74
apache__domain : ' {{ ansible_local.core.domain
75
75
if (ansible_local|d() and ansible_local.core|d() and
76
76
ansible_local.core.domain|d())
77
- else ansible_domain }}'
77
+ else ( ansible_domain if ansible_domain else ansible_hostname) }}'
78
78
79
79
# ]]]
80
80
# .. envvar:: apache__config_path [[[
You can’t perform that action at this time.
0 commit comments