Adapt to more scoped config
This commit is contained in:
@ -1,17 +1,17 @@
|
||||
---
|
||||
- name: Setup lets encrypt certificates
|
||||
shell: "dokku letsencrypt {{ app }}"
|
||||
shell: "dokku letsencrypt {{ dokku.app }}"
|
||||
args:
|
||||
creates: "/home/dokku/{{ app }}/letsencrypt/certs"
|
||||
creates: "/home/dokku/{{ dokku.app }}/letsencrypt/certs"
|
||||
|
||||
- name: Setup lets encrypt certificates renew cron job
|
||||
shell: dokku letsencrypt:cron-job --add
|
||||
args:
|
||||
creates: "/home/dokku/{{ app }}/letsencrypt/cron-job"
|
||||
creates: "/home/dokku/{{ dokku.app }}/letsencrypt/cron-job"
|
||||
|
||||
- name: Set HTTP 443 port
|
||||
dokku_ports:
|
||||
app: "{{ app }}"
|
||||
app: "{{ dokku.app }}"
|
||||
mappings:
|
||||
- "https:443:{{ port }}"
|
||||
- "https:443:{{ vars.port }}"
|
||||
state: present
|
||||
|
||||
Reference in New Issue
Block a user