Switched from bash scripts to ansible