ansible-lint recommendations

This commit is contained in:
Oli
2023-07-27 23:27:11 +00:00
parent ccca06915f
commit 3e747a1069
31 changed files with 87 additions and 84 deletions

View File

@@ -11,7 +11,7 @@
- {src: "header.conf.j2", dest: "/etc/nginx/global/header.conf"}
- {src: "proxy.conf.j2", dest: "/etc/nginx/global/proxy.conf"}
- {src: "php_optimization.j2", dest: "/etc/nginx/global/php_optimization"}
notify: reload nginx
notify: Reload nginx
- name: Copy virtual server configs
template:
@@ -19,7 +19,7 @@
dest: /etc/nginx/conf.d/{{ item | basename | regex_replace('\.j2$', '') }}
mode: "0644"
with_fileglob: "../templates/conf.d/*.j2"
notify: reload nginx
notify: Reload nginx
## Certificates
@@ -39,7 +39,7 @@
group: root
mode: "0600"
loop: [crt, key, issuer.crt]
notify: reload nginx
notify: Reload nginx
- name: Create nginx.service.d directory
file:
@@ -52,4 +52,4 @@
src: nginx_systemd.conf.j2
dest: /etc/systemd/system/nginx.service.d/nginx.conf
mode: "0644"
notify: restart nginx
notify: Restart nginx