Replace lego with acme_sh
This commit is contained in:
parent
82f65d396f
commit
0237271b65
24 changed files with 176 additions and 247 deletions
22
playbooks/roles/acme_sh/tasks/systemd.yml
Normal file
22
playbooks/roles/acme_sh/tasks/systemd.yml
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue