#!/bin/bash
pass=`secret-tool lookup ansible_vault setup`
retval=$?
if [ $retval -ne 0 ]; then
echo Provide password:
read -s pass
fi
echo $pass