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