add check vault_pass file
This commit is contained in:
parent
e48ef91265
commit
8689365896
@ -141,7 +141,7 @@ printSuccess "Date and Time updated successfully"
|
||||
# check /root/ansible/.vault_pass.txt exits
|
||||
#-----------------------------------------------------------------------------
|
||||
printInfo "Check /root/ansible/.vault_pass.txt"
|
||||
if [ ! -f "/root/ansible/.vault_pass.txt"]; then
|
||||
if [ ! -f "/root/ansible/.vault_pass.txt" ]; then
|
||||
printError "You must create /root/ansible/.vault_pass.txt"
|
||||
exit
|
||||
fi
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user