fix error
This commit is contained in:
parent
30566378d0
commit
82ba012b73
@ -168,7 +168,7 @@ printSuccess "Role updated successfully"
|
||||
#-----------------------------------------------------------------------------
|
||||
printInfo "Execute playbook"
|
||||
~/.local/bin/ansible-playbook main.yml --vault-password-file ~/ansible/.vault_pass.txt
|
||||
if [ $? -ne 0 ]; then printError "Problem to execute playbook" fi
|
||||
if [ $? -ne 0 ]; then printError "Problem to execute playbook"; fi
|
||||
printSuccess "Ansible playbook finished"
|
||||
|
||||
#-----------------------------------------------------------------------------
|
||||
@ -177,7 +177,7 @@ printSuccess "Ansible playbook finished"
|
||||
printInfo "CleanUp"
|
||||
rm -rf /tmp/yumupd
|
||||
if [ $? -ne 0 ]; then printError "Problem to cleanUP";exit; fi
|
||||
printSuccess "successfully"
|
||||
printSuccess "CleanUp successfully"
|
||||
|
||||
#-----------------------------------------------------------------------------
|
||||
# set timezone
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user