another form: cat inventorya inventoryb |ansible-playbook -i /dev/stdin playbook.yml
It still won't work as you think, it will only work if inventorya and inventoryb contain the hosts in comma separated lists, as -i looks for an existing file or directory in the string unless there is a comma, then it takes it as a list. -- 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/CADn%2BHsx0VdzQL0bsnWvQTe9BTmzb%3DS_mh%2BDveNTHP5NVDx2Fag%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
