matrix-docker-ansible-deploy
matrix-docker-ansible-deploy copied to clipboard
ssl fail if `/etc/cron.d` does not exist
On a Debian 10, /etc/cron.d does not exist by default, and that make playbook fail with following error:
TASK [matrix-nginx-proxy : Ensure periodic SSL renewal cronjob configured] ****************************************************************************************************************************************
fatal: [matrix.pnpro.paris]: FAILED! => {"changed": false, "checksum": "bda08c90aa82d726d36259013e7b54ff1a129ef1", "msg": "Destination directory /etc/cron.d does not exist"}
Doing mkdir /etc/cron.d solves the problem.