Everything works, but is this the optimum way to deploy an application? If you show your sysadmin the scripts and packages we installed on our production machines, he/she will be deeply unhappy and will immediately raise a red flag. Ideally, you do not want to run any compiler and development packages on production machines and we have quite a few of them in
pre_requisites.yml in our
app_server role. It would then mean that it's acceptable to have all these libraries installed right up to the staging environment.
The sysadmin would be happy with this resolution but not the deployment team. That's because one of the best practices is to make sure that you try and deploy using the same scripts and packages into each of your environments, ...