Rather than post a new thread, I thought that I would resurrect this one, as Brian's suggestion - to use `meta: refresh_inventory` sounds to be exactly what I'm looking for. However, after some number of attempts, I can not seem to get it to work. Does anyone have an example that they wouldn't mind posting?
On Tuesday, 3 November 2015 18:13:51 UTC, Kincaid Savoie wrote: > > We're using 1.9.4, so I had to use set_fact, but it worked like a charm! > Thanks! > > On Monday, November 2, 2015 at 4:56:19 PM UTC-7, Brian Coca wrote: >> >> So in 2.0 you can force ansible to re-execute the inventory script >> with `meta: refresh_inventory`, but if you are using cache or older >> versions try: >> >> set_fact: ansible_ssh_host=127.0.0.1 >> >> >> >> -- >> Brian Coca >> > -- 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/0bf9a3ac-6932-4416-ad98-f30aef24f3e6%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
