From 5af26c7ccf3d9162242d1283eeae206bb16b87f3 Mon Sep 17 00:00:00 2001 From: phil Date: Sat, 11 Mar 2023 18:30:29 +0100 Subject: [PATCH] Fix conditionals and file name --- tasks/configure.yml | 6 +++--- templates/{revers2_proxy.conf.j2 => reverse_proxy.conf.j2} | 0 2 files changed, 3 insertions(+), 3 deletions(-) rename templates/{revers2_proxy.conf.j2 => reverse_proxy.conf.j2} (100%) diff --git a/tasks/configure.yml b/tasks/configure.yml index 732e433..ecec942 100644 --- a/tasks/configure.yml +++ b/tasks/configure.yml @@ -18,7 +18,7 @@ mode: 0644 loop: - add_headers.conf - - letsentcrypt.conf + - letsencrypt.conf notify: reload nginx - name: "Configuration | Copy configuration templates" @@ -31,7 +31,7 @@ - reverse_proxy.conf - ssl.conf notify: reload nginx - when: nginx_type is 'gateway' or nginx_type is 'standalone' + when: nginx_type == 'gateway' or nginx_type == 'standalone' - name: "Configuration | Copy request limit configuration" ansible.builtin.copy: @@ -39,4 +39,4 @@ dest: /etc/nginx/conf.d/ mode: 0644 notify: reload nginx - when: nginx_type is 'gateway' or nginx_type is 'standalone' + when: nginx_type == 'gateway' or nginx_type == 'standalone' diff --git a/templates/revers2_proxy.conf.j2 b/templates/reverse_proxy.conf.j2 similarity index 100% rename from templates/revers2_proxy.conf.j2 rename to templates/reverse_proxy.conf.j2