Changeset 04d89726 in darkpeak-services for roles/apache2/tasks/configure-apache-site.yml


Ignore:
Timestamp:
Oct 13, 2018, 2:00:32 PM (2 years ago)
Author:
Mat Booth <mat.booth@…>
Branches:
keycloak, master
Children:
b3606134
Parents:
f97b97d9
Message:

Workaround certificate requisition problem when domain is null

File:
1 edited

Legend:

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

    rf97b97d9 r04d89726  
    5959    path: "/etc/letsencrypt/live/{{ domain }}/README"
    6060  register: letsencrypt_live
     61  when:
     62    - vhost_config is changed
     63    - domain != ""
    6164
    6265- name: Remove letsencrypt live directory if it's not valid
     
    6770    - not letsencrypt_live.stat.exists
    6871    - development_mode != true
     72    - domain != ""
    6973
    7074- name: Request letsencrypt certificate via certbot
     
    7276  when:
    7377    - development_mode != true
     78    - domain != ""
    7479 
Note: See TracChangeset for help on using the changeset viewer.