use proper certbot module

This commit is contained in:
Torma Kristóf 2022-04-14 22:04:07 +02:00
parent c628326ac5
commit 9f88f210f0

View File

@ -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"