This repository has been archived on 2023-12-26. You can view files and clone it, but cannot push or open issues or pull requests.
lewis/ansible/util/secret-service-client.sh
2023-05-17 11:00:17 +02:00

10 lines
154 B
Bash
Executable file

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