Verified Commit 55ad4a87 authored by erdnaxe's avatar erdnaxe 🎇

Copy dhparam only if does not already exist

parent 363d0857
Pipeline #3181 passed with stage
in 3 minutes and 4 seconds
......@@ -15,10 +15,16 @@
- options-ssl.conf
- options-proxypass.conf
- name: Has dhparam been copied?
stat:
path: /etc/letsencrypt/dhparam
register: stat_result
- name: Copy dhparam
template:
src: letsencrypt/dhparam.j2
dest: /etc/letsencrypt/dhparam
when: not stat_result.stat.exists
- name: Copy reverse proxy sites
template:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment