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

14 lines
293 B
YAML
Raw Normal View History

2018-01-10 23:40:01 +01:00
---
- name: "(All OSs) Create SSL directory"
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:
- "{{ license.certificate }}"
- "{{ license.key }}"