mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-04-16 10:13:26 +02:00
10 lines
181 B
Django/Jinja
10 lines
181 B
Django/Jinja
#!/bin/sh
|
|
|
|
set -eo pipefail
|
|
|
|
{% if samba_role in ['dc', 'rodc'] %}
|
|
rm -rf /home/lbkp/samba
|
|
{% else %}
|
|
echo "Samba not running as a domain controller, no dump to remove"
|
|
{% endif %}
|