From e01f450ec79c8fe736d5a0ea7edb2812fcc1fc96 Mon Sep 17 00:00:00 2001 From: Mitch Riedstra Date: Thu, 3 Oct 2019 19:48:56 -0400 Subject: Pull out the default listen into a var --- defaults/main.yml | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'defaults') diff --git a/defaults/main.yml b/defaults/main.yml index 578e5c8..19ac5c8 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -22,6 +22,13 @@ nginx_acme_challenge_block: | } +# The default server listens on port 80 normally, you can change that if you +# like +nginx_default_listen: | + listen 80; + listen [::]:80; + + # If "True" it will template out {{ansible_hostname}}/nginx/nginx.conf instead # of nginx/nginx.conf nginx_custom_template: False -- cgit v1.2.3