mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2024-12-22 20:45:48 +00:00
14 lines
484 B
YAML
14 lines
484 B
YAML
---
|
|
|
|
- ansible.builtin.include_role:
|
|
name: custom/matrix-base
|
|
tasks_from: ensure_openssl_installed
|
|
when: "matrix_ssl_retrieval_method == 'self-signed'"
|
|
|
|
- name: Generate self-signed certificates
|
|
ansible.builtin.include_tasks: "{{ role_path }}/tasks/ssl/setup_ssl_self_signed_obtain_for_domain.yml"
|
|
with_items: "{{ matrix_ssl_domains_to_obtain_certificates_for | unique }}"
|
|
loop_control:
|
|
loop_var: domain_name
|
|
when: "matrix_ssl_retrieval_method == 'self-signed'"
|