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