You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
715 B
25 lines
715 B
6 years ago
|
---
|
||
|
|
||
|
- name: Ensure OpenSSL installed (RedHat)
|
||
|
yum:
|
||
|
name:
|
||
|
- openssl
|
||
|
state: present
|
||
|
update_cache: no
|
||
6 years ago
|
when: "matrix_ssl_retrieval_method == 'self-signed' and ansible_os_family == 'RedHat'"
|
||
6 years ago
|
|
||
|
- name: Ensure APT usage dependencies are installed (Debian)
|
||
|
apt:
|
||
|
name:
|
||
|
- openssl
|
||
|
state: present
|
||
|
update_cache: no
|
||
6 years ago
|
when: "matrix_ssl_retrieval_method == 'self-signed' and ansible_os_family == 'Debian'"
|
||
6 years ago
|
|
||
6 years ago
|
- name: Generate self-signed certificates
|
||
6 years ago
|
include_tasks: "{{ role_path }}/tasks/ssl/setup_ssl_self_signed_obtain_for_domain.yml"
|
||
6 years ago
|
with_items: "{{ domains_requiring_certificates }}"
|
||
|
loop_control:
|
||
|
loop_var: domain_name
|
||
|
when: "matrix_ssl_retrieval_method == 'self-signed'"
|