You could have multiple ansible.cfg and access them via different env Changes can be made and used in a configuration file which will be processed in the following order:
* ANSIBLE_CONFIG (an environment variable) * ansible.cfg (in the current directory) * .ansible.cfg (in the home directory) * /etc/ansible/ansible.cfg On Thu, 14 Mar 2019 at 08:49, Sampath Kumar <[email protected]> wrote: > Hi All > > Can someone help me on how to execute the AWX template/playbook Template > in such a way that it has to pick the inventory depends on my env variables > ? > > > > -- > 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 post to this group, send email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/ansible-project/d29a8ede-e8e4-4c5d-94af-6ab3efae32a7%40googlegroups.com > <https://groups.google.com/d/msgid/ansible-project/d29a8ede-e8e4-4c5d-94af-6ab3efae32a7%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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 post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CAMTXzjXbSVffDoYYDJ92es-YO-1fKd_sFJ3fg8uS_id9b1qsPQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
