Commit eb3179ae authored by Mattia Rizzolo's avatar Mattia Rizzolo

Randomize letsencrypt cron job

Signed-off-by: Mattia Rizzolo's avatarMattia Rizzolo <mapreri@ubuntu.com>
parent ee8e3c89
......@@ -22,7 +22,9 @@
cron_file: ssl
state: present
user: ssl-keys
special_time: weekly
minute: 23
hour: 2
dow: 0
env: "{{ item.env }}"
name: "{{ item.name }}"
job: "{{ item.job }}"
......@@ -32,7 +34,7 @@
job: root
- env: false
name: ssl-keys
job: chronic dehydrated -c
job: "perl -e 'sleep int(rand(3600))' && chronic dehydrated -c"
- name: Install the apache configuration
apt: name=dehydrated-apache2 state=present
......
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