11 lines
345 B
YAML
11 lines
345 B
YAML
|
---
|
||
|
- name: Create ssl cert
|
||
|
command: /srv/bin/ssl-create {{warehost_api_domain}}
|
||
|
args:
|
||
|
creates: /etc/letsencrypt/live/{{warehost_api_domain}}/fullchain.pem
|
||
|
when: warehostv2_api_ssl
|
||
|
|
||
|
- name: Configurate nginx
|
||
|
template: src=nginx.conf dest=/etc/nginx/servers/80-{{ warehost_api_domain }}.act owner=http mode=644
|
||
|
notify: reload nginx
|