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

10 lines
123 B
Bash
Raw Normal View History

2023-05-08 21:49:04 +00:00
#!/bin/bash
pass=`secret-tool lookup ansible_vault vpn`
retval=$?
if [ $retval -ne 0 ]; then
read -s pass
fi
echo $pass