mirror of
https://github.com/DO1JLR/ansible_role_nginx.git
synced 2024-08-16 16:19:48 +02:00
rename snippet vars
This commit is contained in:
parent
b8325fd754
commit
40b06cbf9a
2 changed files with 4 additions and 4 deletions
|
@ -15,8 +15,8 @@ nginx_sites: {}
|
|||
# group Optional, for use with 'webhost' role
|
||||
# mode Optional, for use with 'webhost' role
|
||||
|
||||
|
||||
snippet_files:
|
||||
nginx__snippet_path: 'files/nginx/snippets/'
|
||||
nginx__snippet_files:
|
||||
- 'acmetool.snippet.conf'
|
||||
- 'tls_parameters.snippet.conf'
|
||||
|
||||
|
|
|
@ -67,11 +67,11 @@
|
|||
- name: Copy nginx snippet files
|
||||
become: true
|
||||
copy:
|
||||
src: 'files/nginx/snippets/{{ item }}'
|
||||
src: '{{ nginx__snippet_path }}{{ item }}'
|
||||
dest: '/etc/nginx/snippets/{{ item }}'
|
||||
owner: root
|
||||
group: root
|
||||
mode: 'u=rw,g=r,o=r'
|
||||
with_items: '{{ snippet_files }}'
|
||||
with_items: '{{ nginx__snippet_files }}'
|
||||
notify:
|
||||
- systemctl reload nginx
|
||||
|
|
Loading…
Reference in a new issue