O'Reilly logo

Learning Ansible by Ramesh Raithatha, Madhurranjan Mohaan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Packaging

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, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required