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

10 lines
131 B
Bash
Raw Permalink Normal View History

2023-04-06 20:01:42 +00:00
#!/bin/bash
2023-05-03 21:35:57 +00:00
pass=`secret-tool lookup ansible_vault hypervisors`
2023-04-06 20:01:42 +00:00
retval=$?
if [ $retval -ne 0 ]; then
read -s pass
fi
echo $pass