It has happened again, someone
nuked deleted it’s future and company because he was using an automation tool with root access to all his machines.
Let it sink.
An automation tool did have access to root on all machines, and it was running shell scripts. Can you feel it? Does the automation nightmare gives you goose bumps? Are you ready to carefully review all of your playbook and scripts?
The good part
If you decide that you still want those bash scripts do yourself a favour and as danielrheath pointed out run every script in strict mode by adding three simple lines