matrix-docker-ansible-deploy/roles/custom/matrix-nginx-proxy/tasks/ssl/setup_ssl_self_signed.yml

14 lines
484 B
YAML
Raw Normal View History

---
- ansible.builtin.include_role:
name: custom/matrix-base
tasks_from: ensure_openssl_installed
2022-01-20 05:58:39 +00:00
when: "matrix_ssl_retrieval_method == 'self-signed'"
- name: Generate self-signed certificates
2022-07-18 08:22:05 +00:00
ansible.builtin.include_tasks: "{{ role_path }}/tasks/ssl/setup_ssl_self_signed_obtain_for_domain.yml"
2022-09-09 10:19:25 +00:00
with_items: "{{ matrix_ssl_domains_to_obtain_certificates_for | unique }}"
loop_control:
loop_var: domain_name
when: "matrix_ssl_retrieval_method == 'self-signed'"