This repository has been archived on 2023-04-26. You can view files and clone it, but cannot push or open issues or pull requests.
max/util/secret-service-client.sh

11 lines
155 B
Bash
Raw Normal View History

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