mitmedialab / ajl.ai

A web application for crowdsourcing image annotations.
GNU Affero General Public License v3.0
16 stars 9 forks source link

ssl #264

Open tkellen opened 6 years ago

tkellen commented 6 years ago

Check here: https://github.com/mitmedialab/ajl.ai/blob/master/ansible/ssl.yml#L36-L42

...and here:

❯ ssh ajl.ai cat /etc/cron.d/ssl
#Ansible: None
0 0 * * * root dehydrated --cron | grep 'Done!' >/dev/null && systemctl reload nginx
#Ansible: None
0 0 * * * root /usr/local/bin/dehydrated --cron | grep 'Done!' >/dev/null && systemctl reload nginx
#Ansible: None
0 0 * * * root /usr/local/bin/dehydrated --cron | grep 'Done!' >/dev/null && systemctl reload nginx

Looks like a few extra entries were added during debugging. Not sure why Ansible isn't clearing that file. I'd rm it and reprovision.

Also, stdout is being written to /dev/null, so, consider sending it to a log file somewhere instead so you can see if it is actually running, and what it is doing.