19 lines
549 B
YAML
19 lines
549 B
YAML
|
---
|
||
|
- name: Prepare
|
||
|
hosts: localhost
|
||
|
gather_facts: false
|
||
|
tasks:
|
||
|
- name: Create ephemeral license certificate file from b64 decoded env var
|
||
|
copy:
|
||
|
content: "{{ lookup('env','NGINX_CRT') | b64decode }}"
|
||
|
dest: ../../../files/license/nginx-repo.crt
|
||
|
force: no
|
||
|
mode: 0444
|
||
|
|
||
|
- name: Create ephemeral license key file from b64 decoded env var
|
||
|
copy:
|
||
|
content: "{{ lookup('env','NGINX_KEY') | b64decode }}"
|
||
|
dest: ../../../files/license/nginx-repo.key
|
||
|
force: no
|
||
|
mode: 0444
|