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
2023-05-08 23:49:04 +02:00

9 lines
123 B
Bash

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