Query on maintaining playbooks

HI Team,

we have currently 4 ansible servers each for one environment - dev,
test, qa and PROD

What should be the best approach for maintaining the playbooks via SCM ?

please confirm.

appreciate the response.

Thanks
Rubod

Hello Rubod,

my two cents: the playbooks shouldn't differ between your environments.

This can be accomplished with conditions / variables in the playbooks / tasks.

The varying values are in the corresponding inventory for each environment. You
can put the inventories in separate repositories or in separate directories of
a single repository.

Regards
        Racke

Thank you