Browse Source

Make letsencrypt cli.ini depend on writing any credentials files

master
Sean Johnson 3 years ago
parent
commit
7322ee28f6
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS. GPG Key ID: 9FA15B87469EA850
  1. 2
      app/letsencrypt.sls

2
app/letsencrypt.sls

@ -36,6 +36,8 @@ certbot archive certificates readable by certificates group:
- name: {{ config_dir }}/config/{{ name }}.ini
- makedirs: true
- mode: 0640
- require_in:
- file: "{{ config_dir }}/cli.ini"
- contents: |
{%- for cred_name, cred_value in credentials.items() %}
{{ cred_name }} = "{{ cred_value }}"

Loading…
Cancel
Save