I distrust 'manual systems', the first thing I normally do is reverse
engineer each type of server and rebuild in an automated fashion (I did
this way before Ansible, through bash/sh/ksh/perl/python scripting and
other CM tools).

The easy part is looking at installed packages and things configured in
/etc, a bit harder is weeding out stuff that is not used anymore or
obsolete.

Then the 'fun' begins, find the /home/whatever/app.rb that is being
executed from a detached session from when a dev logged in 2yrs ago and see
how that app SHOULD run, its deps and requirements. Sometimes you need to
change code as stuff is hardcoded and expectations are implied in subtle
ways. Normally you can justify these in the process of adding high
availability, scalability and/or security to an app.

In the end I have a way to spin up any type of machine (app, web, db, etc)
by running a script with a few options (last 3 jobs it was playbooks!). It
is hard work, takes a long time and sometimes you have to overcome
resistance by your coworkers rather than technical hurdles, but the end
result is worth it.


----------
Brian Coca

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CACVha7fwKE5FJkBSZm4c6HDq5VSsQW0Q0irOmec7zDkC6MGD%3DQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to