1
0
Fork 0
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:
L3D 2021-02-04 14:35:47 +01:00
parent b8325fd754
commit 40b06cbf9a
Signed by: l3d
GPG key ID: CD08445BFF4313D1
2 changed files with 4 additions and 4 deletions

View file

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

View file

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