Fix conditionals and file name

This commit is contained in:
phil 2023-03-11 18:30:29 +01:00
parent 8f7a238b69
commit 5af26c7ccf
2 changed files with 3 additions and 3 deletions

View file

@ -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'