chore: prevent lego from issuing new certs in rollouts

This commit is contained in:
Lars Kaiser 2021-11-23 01:45:19 +01:00
parent 2f4cf0ae12
commit acf871de14
No known key found for this signature in database
GPG key ID: BB97304A16BC5DCF

View file

@ -81,15 +81,11 @@
copy:
dest: "{{ lego_acme_account_path }}"
content: "{{ lego_acme_account_merged | to_json }}"
notify:
- Run lego
- name: Save acme private key
copy:
dest: "{{ lego_acme_key_path }}"
content: "{{ lego_acme_privkey }}"
notify:
- Run lego
when: lego_acme_account is defined and lego_acme_privkey is defined
@ -102,7 +98,6 @@
group: "root"
mode: '0755'
notify:
- Run lego
- Reload systemd
- name: Ensure systemd timer for lego is templated