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/util/secret-service-client.sh

11 lines
154 B
Bash
Raw Normal View History

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