use proper certbot module
This commit is contained in:
parent
c628326ac5
commit
9f88f210f0
@ -16,12 +16,12 @@
|
|||||||
|
|
||||||
- name: Generate certificate for all proxied domains
|
- name: Generate certificate for all proxied domains
|
||||||
command:
|
command:
|
||||||
cmd: certbot certonly --apache -d {{item.domain}}
|
cmd: certbot certonly --nginx -d {{item.domain}}
|
||||||
with_items: "{{ proxy }}"
|
with_items: "{{ proxy }}"
|
||||||
|
|
||||||
- name: Generate certificate for all static sites
|
- name: Generate certificate for all static sites
|
||||||
command:
|
command:
|
||||||
cmd: certbot certonly --apache -d {{item.domain}}
|
cmd: certbot certonly --nginx -d {{item.domain}}
|
||||||
with_items: "{{ static }}"
|
with_items: "{{ static }}"
|
||||||
|
|
||||||
- name: "Generate certbot script"
|
- name: "Generate certbot script"
|
||||||
|
Loading…
Reference in New Issue
Block a user