소스 검색

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.
pull/61/head
Slavi Pantaleev 7 년 전
부모
커밋
4757c13a2e
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. +2
    -2
      roles/matrix-server/tasks/setup/ssl/setup_ssl_self_signed.yml

+ 2
- 2
roles/matrix-server/tasks/setup/ssl/setup_ssl_self_signed.yml 파일 보기

@@ -6,7 +6,7 @@
- openssl
state: present
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)
apt:
@@ -14,7 +14,7 @@
- openssl
state: present
update_cache: no
when: ansible_os_family == 'Debian'
when: "matrix_ssl_retrieval_method == 'self-signed' and ansible_os_family == 'Debian'"

- name: Obtain certificates
include_tasks: "tasks/setup/ssl/setup_ssl_self_signed_obtain_for_domain.yml"


불러오는 중...
취소
저장