# Best Practice Configuration Management

**URL:** <https://discuss.openedx.org/t/best-practice-configuration-management/4789>\
**Category:** Site Operators\
**Created:** [April 19, 2021, 12:20pm UTC](https://discuss.openedx.org/t/best-practice-configuration-management/4789 "2021-04-19T12:20:39Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![matthias.graehn](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/matthias.graehn/32/1914_2.png) [@matthias.graehn](https://discuss.openedx.org/u/matthias.graehn)\
**Post date:** [April 19, 2021, 12:20pm UTC](https://discuss.openedx.org/t/best-practice-configuration-management/4789/1 "2021-04-19T12:20:39Z")

</div>

Hi there,

I set up an open edx plattform for evaluationg and testing. It is a native installation (koa release on Ubuntu 20.04).

I seet there is a lot of configuration stuff to be done. As I understand most basic stuff can be done by adapting the ansible config files as in

> <https://github.com/edx/configuration/blob/master/playbooks/roles/edxapp/defaults/main.yml#L282>

They will then replace the templates with the specific vars in the yml-Files.

Configuration could be found within /edx/app/edxapp/edxapp\_env

Question is, should I use ansible in an production environment to change things or directly change it withing e.g. lms.yml studio.yml etc.?

E.g. I want to change the domain name and do not want to change this in several places, how would I do that. I did not find how I have to call the ansible command to recreate configuration.

Thanks and  
best regards  
Matt
