10 lines
154 B
Bash
Executable file
10 lines
154 B
Bash
Executable file
#!/bin/bash
|
|
|
|
pass=`secret-tool lookup ansible_vault dataserver`
|
|
retval=$?
|
|
|
|
if [ $retval -ne 0 ]; then
|
|
echo Provide password:
|
|
read -s pass
|
|
fi
|
|
echo $pass
|