Is anyone using or possibly ancible to execute batch commands?

I have now close on 5 RPI’s and a couple of other linux boxes I need to run commands in batch on sometimes… Like update/upgrade as well as app specific like Plantgateway… I see has pretty good API doc, but was wondering if anyone had done anything with this yet?