From 19b8a60071ccba8ff9e3d6c5557c04bb887070e1 Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Wed, 31 Oct 2018 16:33:59 +0100 Subject: [PATCH] apache defaults: listen to the ssl port if the ssl modules are loaded. --- apache/defaults/main.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apache/defaults/main.yml b/apache/defaults/main.yml index ffd7203..fab800e 100644 --- a/apache/defaults/main.yml +++ b/apache/defaults/main.yml @@ -8,6 +8,7 @@ apache_ppa_repo: 'ppa:ondrej/apache2' apache_listen_ports: - 80 + - '{{ apache_ssl_port }}' # Possible choices: event, prefork (the old ones), worker (the threaded version), itm apache_mpm_mode: worker @@ -39,6 +40,7 @@ apache_default_modules: - xsendfile apache_ssl_modules_enabled: True +apache_ssl_port: 443 apache_ssl_modules: - ssl - socache_shmcb