mirror of
https://github.com/geerlingguy/ansible-role-certbot.git
synced 2025-04-19 17:01:37 +02:00
23 lines
635 B
YAML
23 lines
635 B
YAML
---
|
|
- import_tasks: include-vars.yml
|
|
|
|
- import_tasks: install-with-package.yml
|
|
when: certbot_install == 'pkg' and not certbot_install_from_source | default(False)
|
|
|
|
- import_tasks: install-from-source.yml
|
|
when: certbot_install == 'source' or certbot_install_from_source | default(False)
|
|
|
|
- import_tasks: install-with-pip.yml
|
|
when: certbot_install in ['pip', 'pip3']
|
|
|
|
- include_tasks: create-cert-standalone.yml
|
|
with_items: "{{ certbot_certs }}"
|
|
when:
|
|
- certbot_create_if_missing
|
|
- certbot_create_method == 'standalone'
|
|
loop_control:
|
|
loop_var: cert_item
|
|
|
|
- import_tasks: renew-cron.yml
|
|
when: certbot_auto_renew
|