f79e6d0210
* Allow making use of Ansible-vault to encrypt sensitive certs and keys
15 lines
322 B
YAML
15 lines
322 B
YAML
---
|
|
- 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
|
|
decrypt: yes
|
|
with_items:
|
|
- "{{ nginx_license.certificate }}"
|
|
- "{{ nginx_license.key }}"
|