Worked like a charm! Thanks :) On Wednesday, 25 January 2017 01:19:13 UTC+5:30, Sonny Heer wrote: > > I believe its colon (:) > > On Tuesday, January 24, 2017 at 10:05:24 AM UTC-8, Kishor Ramanan wrote: >> >> I am using a dynamic inventory so I don't have option of placing all host >> in a single file >> >> For dynamic host the syntax is >> >> hosts: tag_Name_us_east_1a_weblogic_dev* >> >> What I want to use is >> >> hosts: tag_Name_us_east_1a_weblogic_dev*, tag_Name_us_east_1a_apache_qa* >> >> But when i pass the above syntax, Ansible takes only one host >> >> How do I use multiple syntax is my question. >> >> On Tuesday, 24 January 2017 23:07:43 UTC+5:30, Simon Wydooghe wrote: >>> >>> What exactly do you mean? Do you mean running a play on multiple hosts? >>> Maybe you should put your playbook and inventory here + output when running >>> it. >>> >>> On Tuesday, January 24, 2017 at 4:37:09 PM UTC+1, Kishor Ramanan wrote: >>>> >>>> I have configured Ansible to use dynamic inventory list but I am able >>>> to use only one hostname instead of multiple hostnames. >>>> >>>> Even if I give multiple hostname, it takes only one >>>> >>>> Is there a way to add dynamic multiple host to a single play? >>>> >>>>
-- 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/e3a53490-2a4a-4ffb-816b-4e03426dc1c3%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
