Closed francisco-core closed 5 years ago
This happen here: https://github.com/PrivacyLx/devops/blob/c70ff8c66b1b66763f8f11c83e92a3b63dc766b3/ansible/roles/caddy-website/templates/update-website.sh.j2#L34
Since we are using Ansible to manage the server it would be better to convert the (problematic) script to Ansible tasks.
Both caddy-website and onion services roles required more testing.
This happen here: https://github.com/PrivacyLx/devops/blob/c70ff8c66b1b66763f8f11c83e92a3b63dc766b3/ansible/roles/caddy-website/templates/update-website.sh.j2#L34
Yeah. I think remove the tmp file there.
Since we are using Ansible to manage the server it would be better to convert the (problematic) script to Ansible tasks.
I thought about doing it in ansible, but I want it to run as a cron job and didn't find a way to run tasks in a cron job withouth the controller being always on
I thought about doing it in ansible, but I want it to run as a cron job and didn't find a way to run tasks in a cron job withouth the controller being always on
Have you checked the cron module?
issue for https://github.com/PrivacyLx/devops
result of
df -h
:The problem lies on the fact that the script to update the website is not deleting the tmp folder. so /tmp is full