mirror of
https://github.com/DO1JLR/ansible_role_nginx.git
synced 2024-08-16 16:19:48 +02:00
improve linting
This commit is contained in:
parent
5a67f059c3
commit
c0bd7476c0
3 changed files with 9 additions and 7 deletions
|
@ -4,7 +4,7 @@ submodules_versioncheck: false
|
||||||
|
|
||||||
nginx_sites: {}
|
nginx_sites: {}
|
||||||
|
|
||||||
#nginx_sites:
|
# nginx_sites:
|
||||||
# - name: 'example.org'
|
# - name: 'example.org'
|
||||||
# altnames:
|
# altnames:
|
||||||
# - 'www.example.org'
|
# - 'www.example.org'
|
||||||
|
@ -23,7 +23,7 @@ nginx__snippet_files:
|
||||||
- 'tls_parameters.snippet.conf'
|
- 'tls_parameters.snippet.conf'
|
||||||
|
|
||||||
|
|
||||||
#default_robots_file: 'robots_disallow_all.txt'
|
# default_robots_file: 'robots_disallow_all.txt'
|
||||||
|
|
||||||
|
|
||||||
nginx__dhparam_size: 4096
|
nginx__dhparam_size: 4096
|
||||||
|
|
|
@ -1,14 +1,16 @@
|
||||||
---
|
---
|
||||||
|
|
||||||
- name: Restart nginx
|
- name: Restart nginx
|
||||||
systemd:
|
become: true
|
||||||
|
ansible.builtin.systemd:
|
||||||
name: 'nginx.service'
|
name: 'nginx.service'
|
||||||
daemon_reload: yes
|
daemon_reload: true
|
||||||
state: restarted
|
state: restarted
|
||||||
|
|
||||||
|
|
||||||
- name: systemctl reload nginx
|
- name: systemctl reload nginx
|
||||||
systemd:
|
become: true
|
||||||
|
ansible.builtin.systemd:
|
||||||
name: 'nginx.service'
|
name: 'nginx.service'
|
||||||
daemon_reload: yes
|
daemon_reload: true
|
||||||
state: reloaded
|
state: reloaded
|
||||||
|
|
Loading…
Reference in a new issue