Running commands across an array or inventory (ansible like)