Are you sure that's quite right? I'd have expected the "ansible_host" value within each host entry to be the same, otherwise you wouldn't have had the problem in the first place...?
On Wednesday, 30 March 2016 17:05:05 UTC+1, [email protected] wrote: > > Thanks for your (quick!) suggestion. That worked perfectly, thank you. >> For reference by anyone reading this question, the working solution looks >> roughly like this: >> > > { > "example-1": { > "vars": { > "ansible_host": "example-1.com", > "ansible_port": 5513 > }, > "hosts": [ > "unused-alias-1" > ] > }, > "example-2": { > "vars": { > "ansible_host": "example-2.com", > "ansible_port": 22 > }, > "hosts": [ > "unused-alias-0" > ] > } > } > > > -- 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/ff099082-d44c-47d6-a354-2e16a05c0e26%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
