Changeset f4606d4a in darkpeak-services


Ignore:
Timestamp:
Jul 21, 2018, 5:33:27 PM (18 months ago)
Author:
Caolan McMahon <caolan.mcmahon@…>
Branches:
ansible, keycloak, master, matrix, pleroma
Children:
a501f74ac
Parents:
47aa50ab
Message:

separate tests for uploading fullchain and privkey files

File:
1 edited

Legend:

Unmodified
Added
Removed
  • roles/tls/tasks/configure-tls-cert.yml

    r47aa50ab rf4606d4a  
    5959  when: not tls_cert.stat.exists
    6060
     61- name: Check for already installed key
     62  stat:
     63    path: "/etc/letsencrypt/live/{{ domain_name if service_name == 'default' else domain }}/privkey.pem"
     64  register: tls_key
     65
    6166- name: Install self-signed TLS certificate key
    6267  copy:
     
    6671    group: ssl-cert
    6772    mode: 0640
    68   when: not tls_cert.stat.exists
     73  when: not tls_key.stat.exists
    6974
    7075- name: Install symlink to TLS certificate
Note: See TracChangeset for help on using the changeset viewer.