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

11 lines
149 B
Bash
Raw Normal View History

#!/bin/bash
2023-02-24 21:16:43 +00:00
pass=`secret-tool lookup ansible_vault setup`
retval=$?
if [ $retval -ne 0 ]; then
echo Provide password:
read -s pass
fi
echo $pass