Commit 14cf7fde authored by Mattia Rizzolo's avatar Mattia Rizzolo

get rid of systemd timer stuff

Signed-off-by: Mattia Rizzolo's avatarMattia Rizzolo <mattia@debian.org>
parent 31af58fd
---
- name: ssl-keys.request
service:
name: request-ssl-keys
state: started
...@@ -71,22 +71,3 @@ ...@@ -71,22 +71,3 @@
mode: 0750 mode: 0750
owner: root owner: root
group: ssl-keys group: ssl-keys
- name: Upload the systemd timer
template:
src: "{{ item }}"
dest: "/etc/systemd/system/{{ item }}"
with_items:
- request-ssl-keys.service
- request-ssl-keys.timer
- name: Enable the systemd timer
service:
name: request-ssl-keys
enabled: yes
notify:
- common.reload-systemd
[Unit]
Description=Request new SSL keys
[Service]
Type=oneshot
ExecStart=/etc/ssl-keys/cron.sh
User=ssl-keys
Group=ssl-keys
[Unit]
Description=Automatic weekly renew of the SSL keys
[Timer]
Interval=weekly
Persistent=true
[Install]
WantedBy=timers.target
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