DEV Community 👩‍💻👨‍💻

Mihuleac Sergiu
Mihuleac Sergiu

Posted on

How to manage the configuration of a dev env?

I keep thinking about the best way to manage a robust infrastructure of a custom dev enviorment.

My best idea is to use ansible for every modification that needs to be done and keep everything in git, but I would like something else, don't know what, a more cleaner way.

So how do you manage your dev enviorment, when we are talking about multiple build servers with CI and a lot of testing going on?

Top comments (4)

dentych profile image

For servers I use Ansible. For my "personal" dev environment, i.e. my development workstations, I use a github repo with some shell scripts that sets up everything to my liking :)

I'm not sure what you mean with a "cleaner" way. I see Ansible as one of the more simple and clean ways to easily manage a server. I think it probably depends on how you write your playbooks. Try to keep those clean, efficient and idempotent.

physicalit profile image
Mihuleac Sergiu

For what I have in mind, I would need multiple repos (with ansible) that manage different parts of the infrastructure. So basically, is kind of a pipeline, that part of the tests, are actually mounting some build ISO's, that are being tested on a cluster of vmware, dedicated for this test, then are tested on a baremetal server.

And I want to be able to easily make environment modifications.

Yes if I structure everything well, is going to be easy. But most likely is not going to happened, there are a lot of env parameters on the build nodes that need to be monitored, also nfs shares, and so on.

And I kind of want to have single point of access, and see or edit everything from one platform.

I don't think there is this kind of an app, that can do this.

A monitoring app that integrates ansible, this would be genius.

hilam profile image

Look at this

Maybe what you want...

physicalit profile image
Mihuleac Sergiu

Like it, could be useful. Thanks!

Timeless DEV post...

Git Concepts I Wish I Knew Years Ago

The most used technology by developers is not Javascript.

It's not Python or HTML.

It hardly even gets mentioned in interviews or listed as a pre-requisite for jobs.

I'm talking about Git and version control of course.

One does not simply learn git