#!/bin/bash # {{ ansible_managed }} MOUNT=$(podman volume inspect certbot-etc --format "{{ '{{' }} .Mountpoint {{ '}}' }}") mkdir -p certbot-tx cp -rL $MOUNT/live/* certbot-tx sudo /usr/local/bin/move-certificate-files-to-root $(realpath certbot-tx)