matrix-docker-ansible-deploy icon indicating copy to clipboard operation
matrix-docker-ansible-deploy copied to clipboard

ssl fail if `/etc/cron.d` does not exist

Open makayabou opened this issue 5 years ago • 0 comments

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.

makayabou avatar Nov 06 '20 01:11 makayabou