From d7cedf51e2a541fb9f75135231606cc1f5b354a0 Mon Sep 17 00:00:00 2001 From: Sebastian Gumprich Date: Sun, 18 Nov 2018 10:11:00 +0100 Subject: [PATCH] add spaces to variables --- tasks/main.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tasks/main.yml b/tasks/main.yml index b285c26..d7e0e82 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -27,7 +27,7 @@ lineinfile: dest: "/etc/nginx/nginx.conf" regexp: '^\s*ssl_protocols' - line: " ssl_protocols {{nginx_ssl_protocols}};" + line: " ssl_protocols {{ nginx_ssl_protocols }};" insertafter: "http {" notify: restart nginx @@ -35,7 +35,7 @@ lineinfile: dest: "/etc/nginx/nginx.conf" regexp: '^\s*ssl_prefer_server_ciphers' - line: " ssl_prefer_server_ciphers {{nginx_ssl_prefer_server_ciphers}};" + line: " ssl_prefer_server_ciphers {{ nginx_ssl_prefer_server_ciphers }};" insertafter: "http {" notify: restart nginx @@ -74,7 +74,7 @@ - "/etc/nginx/sites-enabled/default" - name: generate dh group - command: "openssl dhparam -out /etc/nginx/dh{{nginx_dh_size}}.pem {{ nginx_dh_size }}" + command: "openssl dhparam -out /etc/nginx/dh{{ nginx_dh_size }}.pem {{ nginx_dh_size }}" args: - creates: "/etc/nginx/dh{{nginx_dh_size}}.pem" + creates: "/etc/nginx/dh{{ nginx_dh_size }}.pem" notify: restart nginx