This commit is contained in:
Michael Grote 2024-10-29 15:46:55 +01:00
parent cb002856d8
commit 92b9ce79da

View file

@ -5,7 +5,7 @@
{# Header #} {# Header #}
echo "-----------------------" echo "-----------------------"
echo "Source: {{ item.src }}" echo "Source: {{ item.src }}"
echo "Dest: {{ item.dest.split(':') | last }}" echo "Destination: {{ item.dest.split(':') | last }}"
{# Mount check source #} {# Mount check source #}
if /usr/sbin/zfs get mounted -H {{ item.src }} 2>&1 > /dev/null ; then if /usr/sbin/zfs get mounted -H {{ item.src }} 2>&1 > /dev/null ; then
{# Mount check destination #} {# Mount check destination #}