Add error-handling code to shell scripts

Now, when secret storage is not opened correctly (ie. wrong password),
Ansible should stop playbook execution.