mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2024-12-12 08:43:55 +02:00
Do not install openssl if not necessary
Fix for d28bdb3258
.
We were only supposed to install openssl when the self-signed
SSL certificate retrieval method is used, not always.
This commit is contained in:
parent
12b65d8ccc
commit
4757c13a2e
@ -6,7 +6,7 @@
|
|||||||
- openssl
|
- openssl
|
||||||
state: present
|
state: present
|
||||||
update_cache: no
|
update_cache: no
|
||||||
when: ansible_os_family == 'RedHat'
|
when: "matrix_ssl_retrieval_method == 'self-signed' and ansible_os_family == 'RedHat'"
|
||||||
|
|
||||||
- name: Ensure APT usage dependencies are installed (Debian)
|
- name: Ensure APT usage dependencies are installed (Debian)
|
||||||
apt:
|
apt:
|
||||||
@ -14,7 +14,7 @@
|
|||||||
- openssl
|
- openssl
|
||||||
state: present
|
state: present
|
||||||
update_cache: no
|
update_cache: no
|
||||||
when: ansible_os_family == 'Debian'
|
when: "matrix_ssl_retrieval_method == 'self-signed' and ansible_os_family == 'Debian'"
|
||||||
|
|
||||||
- name: Obtain certificates
|
- name: Obtain certificates
|
||||||
include_tasks: "tasks/setup/ssl/setup_ssl_self_signed_obtain_for_domain.yml"
|
include_tasks: "tasks/setup/ssl/setup_ssl_self_signed_obtain_for_domain.yml"
|
||||||
|
Loading…
Reference in New Issue
Block a user