#!/bin/bash # This file was generated by Ansible for {{ ansible_fqdn }} # Do NOT modify this file by hand! WORKDIR={{backup_work}}/{{item.name}} {% if item.source.startswith('postgresql://') or item.source.startswith('mysql://') or item.source.startswith('mongo://') %} rm -rf $WORKDIR/dump {% endif %} {% for action in item.post_actions|default([]) %} {{ action }} {% endfor %}