From cba87f594ca5ce35c109892945edb0ba09ff3cc0 Mon Sep 17 00:00:00 2001 From: Patrick Marchand Date: Wed, 3 Jul 2019 09:06:08 -0400 Subject: [PATCH] Fix mistake in join for minifirewall HTTPSITES There were extraneous quotes in the rendered string. fixes #65 --- minifirewall/tasks/config.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/minifirewall/tasks/config.yml b/minifirewall/tasks/config.yml index 5d851cbc..e19d53a0 100644 --- a/minifirewall/tasks/config.yml +++ b/minifirewall/tasks/config.yml @@ -124,7 +124,7 @@ - name: Configure HTTPSITES for debian lineinfile: dest: "{{ minifirewall_main_file }}" - line: "HTTPSITES='{{ minifirewall_default_debian_http_sites | join(' ') }}' '{{ minifirewall_http_sites | join(' ') }}'" + line: "HTTPSITES='{{ minifirewall_default_debian_http_sites | join(' ') }} {{ minifirewall_http_sites | join(' ') }}'" regexp: "HTTPSITES='.*'" create: no when: ansible_distribution == "Debian" @@ -132,7 +132,7 @@ - name: Configure HTTPSITES for ubuntu lineinfile: dest: "{{ minifirewall_main_file }}" - line: "HTTPSITES='{{ minifirewall_default_ubuntu_http_sites | join(' ') }}' '{{ minifirewall_http_sites | join(' ') }}'" + line: "HTTPSITES='{{ minifirewall_default_ubuntu_http_sites | join(' ') }} {{ minifirewall_http_sites | join(' ') }}'" regexp: "HTTPSITES='.*'" create: no when: ansible_distribution == "Ubuntu"