test cron creation
This commit is contained in:
parent
d0d4523941
commit
7eff632533
@ -12,3 +12,15 @@ certbot_preferred_challenges: dns
|
||||
certbot_server: https://acme-v02.api.letsencrypt.org/directory
|
||||
certbot_email: mail@example.com
|
||||
certbot_rsa_key_size: 4096
|
||||
certbot_domains:
|
||||
- example.com
|
||||
|
||||
certbot_command_arguments:
|
||||
- "certonly"
|
||||
- "--agree-tos"
|
||||
- "--manual"
|
||||
- "--manual-auth-hook /path/to/authenticator.py"
|
||||
- "--manual-cleanup-hook /path/to/cleanup.py"
|
||||
- "--manual-public-ip-logging-ok"
|
||||
- "-n"
|
||||
- "-d {{ certbot_domains | join(',') }}"
|
||||
|
@ -33,7 +33,7 @@
|
||||
minute: 55
|
||||
hour: 3
|
||||
user: "{{ certbot_user }}"
|
||||
job: "YUMINTERACTIVE: 0 /usr/sbin/yum-autoupdate"
|
||||
job: "certbot {{ certbot_command_arguments | join(" ") }}"
|
||||
cron_file: "{{ certbot_cronfile | default(omit) }}"
|
||||
become: True
|
||||
become_user: "{{ certbot_user }}"
|
||||
|
Loading…
Reference in New Issue
Block a user