On 9/22/20 12:57 PM, rubod singh wrote: > 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.
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
--
Ecommerce and Linux consulting + Perl and web application programming.
Debian and Sympa administration. Provisioning with Ansible.
--
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 view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/30af406b-ad94-2b48-a817-14a81dfedc2d%40linuxia.de.
signature.asc
Description: OpenPGP digital signature
