create cron
This commit is contained in:
parent
46d40c2a4e
commit
d0d4523941
@ -26,5 +26,14 @@
|
||||
template:
|
||||
src: config/cli.ini.j2
|
||||
dest: "{{ certbot_config_dir }}/cli.ini"
|
||||
|
||||
- name: Schedule certbot run
|
||||
cron:
|
||||
name: certbot - letsencrypt certs renewal
|
||||
minute: 55
|
||||
hour: 3
|
||||
user: "{{ certbot_user }}"
|
||||
job: "YUMINTERACTIVE: 0 /usr/sbin/yum-autoupdate"
|
||||
cron_file: "{{ certbot_cronfile | default(omit) }}"
|
||||
become: True
|
||||
become_user: "{{ certbot_user }}"
|
||||
|
Loading…
Reference in New Issue
Block a user