Reads ansible user from environment

This commit is contained in:
Nikolaos Kakouros 2017-09-06 23:35:12 +02:00
parent a1fdfe5ffb
commit 94a2cf87a3

View File

@ -1,7 +1,7 @@
--- ---
# Certbot auto-renew cron job configuration (for certificate renewals). # Certbot auto-renew cron job configuration (for certificate renewals).
certbot_auto_renew: true certbot_auto_renew: true
certbot_auto_renew_user: "{{ ansible_user }}" certbot_auto_renew_user: "{{ lookup('env', 'USER') }}"
certbot_auto_renew_hour: 3 certbot_auto_renew_hour: 3
certbot_auto_renew_minute: 30 certbot_auto_renew_minute: 30