Changeset d54b7477 in darkpeak-services


Ignore:
Timestamp:
Oct 13, 2018, 3:06:23 PM (2 years ago)
Author:
Caolan McMahon <caolan.mcmahon@…>
Branches:
keycloak, master
Children:
410ece0b
Parents:
3cfb48c1
Message:

Fix test for already installed ssl certs

Location:
roles
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • roles/apache2/tasks/configure-apache-site.yml

    r3cfb48c1 rd54b7477  
    6060  register: letsencrypt_live
    6161  when:
    62     - vhost_config is changed
    6362    - domain != ""
    6463
    65 - name: Remove letsencrypt live directory if it's not valid
     64- name: "Remove letsencrypt live directory if it's not valid"
    6665  file:
    6766    path: "/etc/letsencrypt/live/{{ domain }}"
    6867    state: absent
    6968  when:
    70     - not letsencrypt_live.stat.exists
    7169    - development_mode != true
    7270    - domain != ""
     71    - not letsencrypt_live.stat.exists
    7372
    7473- name: Request letsencrypt certificate via certbot
  • roles/tls/tasks/configure-tls-cert.yml

    r3cfb48c1 rd54b7477  
    5656    mode: 0640
    5757  when:
     58    - domain != ""
    5859    - not tls_cert.stat.exists
    59     - domain != ""
    6060
    6161- name: Check for already installed key
     
    7373    mode: 0640
    7474  when:
     75    - domain != ""
    7576    - not tls_key.stat.exists
    76     - domain != ""
    7777
    7878- name: Install symlinks to TLS certificate and key
Note: See TracChangeset for help on using the changeset viewer.