From 82ba012b73d706dffb26c90448f057dac629612f Mon Sep 17 00:00:00 2001 From: Gilles Mouchet Date: Sat, 22 Jun 2024 11:21:20 +0200 Subject: [PATCH] fix error --- inst-raps.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inst-raps.sh b/inst-raps.sh index d6b12a3..f2eeda3 100755 --- a/inst-raps.sh +++ b/inst-raps.sh @@ -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