10 lines
126 B
Bash
10 lines
126 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
pass=`secret-tool lookup ansible_vault hermes`
|
||
|
retval=$?
|
||
|
|
||
|
if [ $retval -ne 0 ]; then
|
||
|
read -s pass
|
||
|
fi
|
||
|
echo $pass
|