ansible-role-nginx/tasks/plus/setup-license.yml

14 lines
305 B
YAML
Raw Permalink Normal View History

2018-01-10 23:40:01 +01:00
---
- name: "(All OSs) Create SSL Directory"
2018-01-10 23:40:01 +01:00
file:
path: /etc/ssl/nginx
state: directory
- name: "(All OSs) Copy NGINX Plus Certificate and License Key"
copy:
src: "{{ item }}"
dest: /etc/ssl/nginx
with_items:
- "{{ nginx_license.certificate }}"
- "{{ nginx_license.key }}"