Query on maintaining playbooks

16 views
Skip to first unread message

rubod singh

unread,
Sep 22, 2020, 6:57:42 AM9/22/20
to ansible...@googlegroups.com
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

Stefan Hornburg (Racke)

unread,
Sep 22, 2020, 7:22:41 AM9/22/20
to ansible...@googlegroups.com
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.

signature.asc

rubod singh

unread,
Sep 22, 2020, 7:49:33 AM9/22/20
to ansible...@googlegroups.com
Thank you
> --
> 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 ansible-proje...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/30af406b-ad94-2b48-a817-14a81dfedc2d%40linuxia.de.
Reply all
Reply to author
Forward
0 new messages