ansible-lint recommendations
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user