Replace lego with acme_sh

This commit is contained in:
Tobias Reisinger 2026-03-28 20:21:42 +01:00
parent 82f65d396f
commit 0237271b65
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
24 changed files with 176 additions and 247 deletions

View file

@ -0,0 +1,22 @@
---
- name: Copy the system service
ansible.builtin.template:
src: acme_sh.service.j2
dest: /etc/systemd/system/acme_sh.service
mode: "0644"
become: true
- name: Copy the system timer
ansible.builtin.copy:
src: acme_sh.timer
dest: /etc/systemd/system/acme_sh.timer
mode: "0644"
become: true
- name: Enable the system timer
ansible.builtin.systemd_service:
name: acme_sh.timer
state: started
enabled: true
daemon_reload: true
become: true